home *** CD-ROM | disk | FTP | other *** search
/ mail.altrad.com / 2015.02.mail.altrad.com.tar / mail.altrad.com / TEST / office german / PROPLUS.WW / PROPLSWW.CAB / GOSTTITLE.XSL < prev    next >
Extensible Markup Language  |  2006-09-17  |  243KB  |  6,652 lines

  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2.  
  3.  
  4. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt"    xmlns:b="http://schemas.openxmlformats.org/officeDocument/2006/bibliography" xmlns:t="http://www.microsoft.com/temp">
  5.     <xsl:output method="html" encoding="us-ascii"/>
  6.  
  7.  
  8.     
  9.     <xsl:template match="*" mode="outputHtml2">
  10.             <xsl:apply-templates mode="outputHtml"/>        
  11.     </xsl:template>
  12.  
  13.     <xsl:template name="StringFormatDot">
  14.         <xsl:param name="format" />
  15.         <xsl:param name="parameters" />
  16.  
  17.     <xsl:variable name="prop_EndChars">
  18.       <xsl:call-template name="templ_prop_EndChars"/>
  19.     </xsl:variable>
  20.  
  21.     <xsl:choose>
  22.             <xsl:when test="$format = ''"></xsl:when>
  23.             <xsl:when test="substring($format, 1, 2) = '%%'">
  24.                 <xsl:text>%</xsl:text>
  25.                 <xsl:call-template name="StringFormatDot">
  26.                     <xsl:with-param name="format" select="substring($format, 3)" />
  27.                     <xsl:with-param name="parameters" select="$parameters" />
  28.                 </xsl:call-template>
  29.                 <xsl:if test="string-length($format)=2">
  30.                     <xsl:call-template name="templ_prop_Dot"/>
  31.                 </xsl:if>
  32.             </xsl:when>
  33.             <xsl:when test="substring($format, 1, 1) = '%'">
  34.                 <xsl:variable name="pos" select="substring($format, 2, 1)" />
  35.                 <xsl:apply-templates select="msxsl:node-set($parameters)/t:params/t:param[position() = $pos]" mode="outputHtml2"/>
  36.                 <xsl:call-template name="StringFormatDot">
  37.                     <xsl:with-param name="format" select="substring($format, 3)" />
  38.                     <xsl:with-param name="parameters" select="$parameters" />
  39.                 </xsl:call-template>
  40.                 <xsl:if test="string-length($format)=2">
  41.                     <xsl:variable name="temp2">
  42.                         <xsl:call-template name="handleSpaces">
  43.                             <xsl:with-param name="field" select="msxsl:node-set($parameters)/t:params/t:param[position() = $pos]"/>
  44.                         </xsl:call-template>
  45.                     </xsl:variable>                
  46.                     <xsl:variable name="lastChar">
  47.                         <xsl:value-of select="substring($temp2, string-length($temp2))"/>
  48.                     </xsl:variable>
  49.                     <xsl:if test="not(contains($prop_EndChars, $lastChar))">
  50.                         <xsl:call-template name="templ_prop_Dot"/>
  51.                     </xsl:if>
  52.                 </xsl:if>
  53.             </xsl:when>
  54.             <xsl:otherwise>
  55.                 <xsl:value-of select="substring($format, 1, 1)" />
  56.                 <xsl:call-template name="StringFormatDot">
  57.                     <xsl:with-param name="format" select="substring($format, 2)" />
  58.                     <xsl:with-param name="parameters" select="$parameters" />
  59.                 </xsl:call-template>
  60.                 <xsl:if test="string-length($format)=1">
  61.                     <xsl:if test="not(contains($prop_EndChars, $format))">
  62.                         <xsl:call-template name="templ_prop_Dot"/>
  63.                     </xsl:if>
  64.                 </xsl:if>
  65.             </xsl:otherwise>
  66.         </xsl:choose>
  67.     </xsl:template>    
  68.  
  69.     <xsl:template name="StringFormat">
  70.         <xsl:param name="format" />
  71.         <xsl:param name="parameters" />
  72.         <xsl:choose>
  73.             <xsl:when test="$format = ''"></xsl:when>
  74.             <xsl:when test="substring($format, 1, 2) = '%%'">
  75.                 <xsl:text>%</xsl:text>
  76.                 <xsl:call-template name="StringFormat">
  77.                     <xsl:with-param name="format" select="substring($format, 3)" />
  78.                     <xsl:with-param name="parameters" select="$parameters" />
  79.                 </xsl:call-template>
  80.             </xsl:when>
  81.             <xsl:when test="substring($format, 1, 1) = '%'">
  82.                 <xsl:variable name="pos" select="substring($format, 2, 1)" />
  83.                 <xsl:apply-templates select="msxsl:node-set($parameters)/t:params/t:param[position() = $pos]" mode="outputHtml2"/>
  84.                 <xsl:call-template name="StringFormat">
  85.                     <xsl:with-param name="format" select="substring($format, 3)" />
  86.                     <xsl:with-param name="parameters" select="$parameters" />
  87.                 </xsl:call-template>
  88.             </xsl:when>
  89.             <xsl:otherwise>
  90.                 <xsl:value-of select="substring($format, 1, 1)" />
  91.                 <xsl:call-template name="StringFormat">
  92.                     <xsl:with-param name="format" select="substring($format, 2)" />
  93.                     <xsl:with-param name="parameters" select="$parameters" />
  94.                 </xsl:call-template>
  95.             </xsl:otherwise>
  96.         </xsl:choose>
  97.     </xsl:template>
  98.  
  99.  
  100.  
  101.  
  102.   <xsl:template name="localLCID">
  103.     <xsl:param name="LCID"/>
  104.  
  105.     <xsl:variable name="_LCID1">
  106.       <xsl:choose>
  107.         <xsl:when test="$LCID!='0' and $LCID!=''">
  108.           <xsl:value-of select="$LCID"/>
  109.         </xsl:when>
  110.         <xsl:when test="/b:Citation">
  111.           <xsl:value-of select="/*/b:Locals/b:DefaultLCID"/>
  112.         </xsl:when>
  113.         <xsl:when test="b:LCID">
  114.           <xsl:value-of select="b:LCID"/>
  115.         </xsl:when>
  116.         <xsl:when test="../b:LCID">
  117.           <xsl:value-of select="../b:LCID"/>
  118.         </xsl:when>
  119.         <xsl:when test="../../b:LCID">
  120.           <xsl:value-of select="../../b:LCID"/>
  121.         </xsl:when>
  122.         <xsl:when test="../../../b:LCID">
  123.           <xsl:value-of select="../../../b:LCID"/>
  124.         </xsl:when>
  125.         <xsl:when test="../../../../b:LCID">
  126.           <xsl:value-of select="../../../../b:LCID"/>
  127.         </xsl:when>
  128.         <xsl:when test="../../../../b:LCID">
  129.           <xsl:value-of select="../../../../b:LCID"/>
  130.         </xsl:when>
  131.         <xsl:when test="../../../../../b:LCID">
  132.           <xsl:value-of select="../../../../../b:LCID"/>
  133.         </xsl:when>
  134.         <xsl:otherwise>
  135.           <xsl:value-of select="/*/b:Locals/b:DefaultLCID"/>
  136.         </xsl:otherwise>
  137.       </xsl:choose>
  138.     </xsl:variable>
  139.  
  140.     <xsl:choose>
  141.       <xsl:when test="$_LCID1!='0' and string-length($_LCID1)>0">
  142.         <xsl:value-of select="$_LCID1"/>
  143.       </xsl:when>
  144.       <xsl:otherwise>
  145.         <xsl:value-of select="/*/b:Locals/b:DefaultLCID"/>
  146.       </xsl:otherwise>
  147.     </xsl:choose>
  148.  
  149.   </xsl:template>
  150.  
  151.   
  152.   <xsl:template name="templ_prop_MLA_CitationLong_FML" >
  153.     <xsl:param name="LCID" />
  154.     <xsl:variable name="_LCID">
  155.       <xsl:call-template name="localLCID">
  156.         <xsl:with-param name="LCID" select="$LCID"/>
  157.       </xsl:call-template>
  158.     </xsl:variable>
  159.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationLong/b:FML"/>
  160.   </xsl:template>
  161.  
  162.   
  163.   <xsl:template name="templ_prop_MLA_CitationLong_FM" >
  164.     <xsl:param name="LCID" />
  165.     <xsl:variable name="_LCID">
  166.       <xsl:call-template name="localLCID">
  167.         <xsl:with-param name="LCID" select="$LCID"/>
  168.       </xsl:call-template>
  169.     </xsl:variable>
  170.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationLong/b:FM"/>
  171.   </xsl:template>
  172.  
  173.   
  174.   <xsl:template name="templ_prop_MLA_CitationLong_ML" >
  175.     <xsl:param name="LCID" />
  176.     <xsl:variable name="_LCID">
  177.       <xsl:call-template name="localLCID">
  178.         <xsl:with-param name="LCID" select="$LCID"/>
  179.       </xsl:call-template>
  180.     </xsl:variable>
  181.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationLong/b:ML"/>
  182.   </xsl:template>
  183.  
  184.   
  185.   <xsl:template name="templ_prop_MLA_CitationLong_FL" >
  186.     <xsl:param name="LCID" />
  187.     <xsl:variable name="_LCID">
  188.       <xsl:call-template name="localLCID">
  189.         <xsl:with-param name="LCID" select="$LCID"/>
  190.       </xsl:call-template>
  191.     </xsl:variable>
  192.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationLong/b:FL"/>
  193.   </xsl:template>
  194.  
  195.   
  196.   <xsl:template name="templ_prop_MLA_CitationShort_FML" >
  197.     <xsl:param name="LCID" />
  198.     <xsl:variable name="_LCID">
  199.       <xsl:call-template name="localLCID">
  200.         <xsl:with-param name="LCID" select="$LCID"/>
  201.       </xsl:call-template>
  202.     </xsl:variable>
  203.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationShort/b:FML"/>
  204.   </xsl:template>
  205.  
  206.   
  207.   <xsl:template name="templ_prop_MLA_CitationShort_FM" >
  208.     <xsl:param name="LCID" />
  209.     <xsl:variable name="_LCID">
  210.       <xsl:call-template name="localLCID">
  211.         <xsl:with-param name="LCID" select="$LCID"/>
  212.       </xsl:call-template>
  213.     </xsl:variable>
  214.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationShort/b:FM"/>
  215.   </xsl:template>
  216.  
  217.   
  218.   <xsl:template name="templ_prop_MLA_CitationShort_ML" >
  219.     <xsl:param name="LCID" />
  220.     <xsl:variable name="_LCID">
  221.       <xsl:call-template name="localLCID">
  222.         <xsl:with-param name="LCID" select="$LCID"/>
  223.       </xsl:call-template>
  224.     </xsl:variable>
  225.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationShort/b:ML"/>
  226.   </xsl:template>
  227.  
  228.   
  229.   <xsl:template name="templ_prop_MLA_CitationShort_FL" >
  230.     <xsl:param name="LCID" />
  231.     <xsl:variable name="_LCID">
  232.       <xsl:call-template name="localLCID">
  233.         <xsl:with-param name="LCID" select="$LCID"/>
  234.       </xsl:call-template>
  235.     </xsl:variable>
  236.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationShort/b:FL"/>
  237.   </xsl:template>
  238.  
  239.   
  240.   <xsl:template name="templ_prop_APA_CitationLong_FML" >
  241.     <xsl:param name="LCID" />
  242.     <xsl:variable name="_LCID">
  243.       <xsl:call-template name="localLCID">
  244.         <xsl:with-param name="LCID" select="$LCID"/>
  245.       </xsl:call-template>
  246.     </xsl:variable>
  247.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationLong/b:FML"/>
  248.   </xsl:template>
  249.  
  250.   
  251.   <xsl:template name="templ_prop_APA_CitationLong_FM" >
  252.     <xsl:param name="LCID" />
  253.     <xsl:variable name="_LCID">
  254.       <xsl:call-template name="localLCID">
  255.         <xsl:with-param name="LCID" select="$LCID"/>
  256.       </xsl:call-template>
  257.     </xsl:variable>
  258.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationLong/b:FM"/>
  259.   </xsl:template>
  260.  
  261.   
  262.   <xsl:template name="templ_prop_APA_CitationLong_ML" >
  263.     <xsl:param name="LCID" />
  264.     <xsl:variable name="_LCID">
  265.       <xsl:call-template name="localLCID">
  266.         <xsl:with-param name="LCID" select="$LCID"/>
  267.       </xsl:call-template>
  268.     </xsl:variable>
  269.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationLong/b:ML"/>
  270.   </xsl:template>
  271.  
  272.   
  273.   <xsl:template name="templ_prop_APA_CitationLong_FL" >
  274.     <xsl:param name="LCID" />
  275.     <xsl:variable name="_LCID">
  276.       <xsl:call-template name="localLCID">
  277.         <xsl:with-param name="LCID" select="$LCID"/>
  278.       </xsl:call-template>
  279.     </xsl:variable>
  280.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationLong/b:FL"/>
  281.   </xsl:template>
  282.  
  283.   
  284.   <xsl:template name="templ_prop_APA_CitationShort_FML" >
  285.     <xsl:param name="LCID" />
  286.     <xsl:variable name="_LCID">
  287.       <xsl:call-template name="localLCID">
  288.         <xsl:with-param name="LCID" select="$LCID"/>
  289.       </xsl:call-template>
  290.     </xsl:variable>
  291.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationShort/b:FML"/>
  292.   </xsl:template>
  293.  
  294.   
  295.   <xsl:template name="templ_prop_APA_CitationShort_FM" >
  296.     <xsl:param name="LCID" />
  297.     <xsl:variable name="_LCID">
  298.       <xsl:call-template name="localLCID">
  299.         <xsl:with-param name="LCID" select="$LCID"/>
  300.       </xsl:call-template>
  301.     </xsl:variable>
  302.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationShort/b:FM"/>
  303.   </xsl:template>
  304.  
  305.   
  306.   <xsl:template name="templ_prop_APA_CitationShort_ML" >
  307.     <xsl:param name="LCID" />
  308.     <xsl:variable name="_LCID">
  309.       <xsl:call-template name="localLCID">
  310.         <xsl:with-param name="LCID" select="$LCID"/>
  311.       </xsl:call-template>
  312.     </xsl:variable>
  313.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationShort/b:ML"/>
  314.   </xsl:template>
  315.  
  316.   
  317.   <xsl:template name="templ_prop_APA_CitationShort_FL" >
  318.     <xsl:param name="LCID" />
  319.     <xsl:variable name="_LCID">
  320.       <xsl:call-template name="localLCID">
  321.         <xsl:with-param name="LCID" select="$LCID"/>
  322.       </xsl:call-template>
  323.     </xsl:variable>
  324.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationShort/b:FL"/>
  325.   </xsl:template>
  326.  
  327.   
  328.   <xsl:template name="templ_prop_Chicago_CitationLong_FML" >
  329.     <xsl:param name="LCID" />
  330.     <xsl:variable name="_LCID">
  331.       <xsl:call-template name="localLCID">
  332.         <xsl:with-param name="LCID" select="$LCID"/>
  333.       </xsl:call-template>
  334.     </xsl:variable>
  335.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationLong/b:FML"/>
  336.   </xsl:template>
  337.  
  338.   
  339.   <xsl:template name="templ_prop_Chicago_CitationLong_FM" >
  340.     <xsl:param name="LCID" />
  341.     <xsl:variable name="_LCID">
  342.       <xsl:call-template name="localLCID">
  343.         <xsl:with-param name="LCID" select="$LCID"/>
  344.       </xsl:call-template>
  345.     </xsl:variable>
  346.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationLong/b:FM"/>
  347.   </xsl:template>
  348.  
  349.   
  350.   <xsl:template name="templ_prop_Chicago_CitationLong_ML" >
  351.     <xsl:param name="LCID" />
  352.     <xsl:variable name="_LCID">
  353.       <xsl:call-template name="localLCID">
  354.         <xsl:with-param name="LCID" select="$LCID"/>
  355.       </xsl:call-template>
  356.     </xsl:variable>
  357.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationLong/b:ML"/>
  358.   </xsl:template>
  359.  
  360.   
  361.   <xsl:template name="templ_prop_Chicago_CitationLong_FL" >
  362.     <xsl:param name="LCID" />
  363.     <xsl:variable name="_LCID">
  364.       <xsl:call-template name="localLCID">
  365.         <xsl:with-param name="LCID" select="$LCID"/>
  366.       </xsl:call-template>
  367.     </xsl:variable>
  368.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationLong/b:FL"/>
  369.   </xsl:template>
  370.  
  371.   
  372.   <xsl:template name="templ_prop_Chicago_CitationShort_FML" >
  373.     <xsl:param name="LCID" />
  374.     <xsl:variable name="_LCID">
  375.       <xsl:call-template name="localLCID">
  376.         <xsl:with-param name="LCID" select="$LCID"/>
  377.       </xsl:call-template>
  378.     </xsl:variable>
  379.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationShort/b:FML"/>
  380.   </xsl:template>
  381.  
  382.   
  383.   <xsl:template name="templ_prop_Chicago_CitationShort_FM" >
  384.     <xsl:param name="LCID" />
  385.     <xsl:variable name="_LCID">
  386.       <xsl:call-template name="localLCID">
  387.         <xsl:with-param name="LCID" select="$LCID"/>
  388.       </xsl:call-template>
  389.     </xsl:variable>
  390.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationShort/b:FM"/>
  391.   </xsl:template>
  392.  
  393.   
  394.   <xsl:template name="templ_prop_Chicago_CitationShort_ML" >
  395.     <xsl:param name="LCID" />
  396.     <xsl:variable name="_LCID">
  397.       <xsl:call-template name="localLCID">
  398.         <xsl:with-param name="LCID" select="$LCID"/>
  399.       </xsl:call-template>
  400.     </xsl:variable>
  401.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationShort/b:ML"/>
  402.   </xsl:template>
  403.  
  404.   
  405.   <xsl:template name="templ_prop_Chicago_CitationShort_FL" >
  406.     <xsl:param name="LCID" />
  407.     <xsl:variable name="_LCID">
  408.       <xsl:call-template name="localLCID">
  409.         <xsl:with-param name="LCID" select="$LCID"/>
  410.       </xsl:call-template>
  411.     </xsl:variable>
  412.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationShort/b:FL"/>
  413.   </xsl:template>
  414.  
  415.   
  416.   <xsl:template name="templ_prop_Gost_CitationLong_FML" >
  417.     <xsl:param name="LCID" />
  418.     <xsl:variable name="_LCID">
  419.       <xsl:call-template name="localLCID">
  420.         <xsl:with-param name="LCID" select="$LCID"/>
  421.       </xsl:call-template>
  422.     </xsl:variable>
  423.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationLong/b:FML"/>
  424.   </xsl:template>
  425.  
  426.   
  427.   <xsl:template name="templ_prop_Gost_CitationLong_FM" >
  428.     <xsl:param name="LCID" />
  429.     <xsl:variable name="_LCID">
  430.       <xsl:call-template name="localLCID">
  431.         <xsl:with-param name="LCID" select="$LCID"/>
  432.       </xsl:call-template>
  433.     </xsl:variable>
  434.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationLong/b:FM"/>
  435.   </xsl:template>
  436.  
  437.   
  438.   <xsl:template name="templ_prop_Gost_CitationLong_ML" >
  439.     <xsl:param name="LCID" />
  440.     <xsl:variable name="_LCID">
  441.       <xsl:call-template name="localLCID">
  442.         <xsl:with-param name="LCID" select="$LCID"/>
  443.       </xsl:call-template>
  444.     </xsl:variable>
  445.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationLong/b:ML"/>
  446.   </xsl:template>
  447.  
  448.   
  449.   <xsl:template name="templ_prop_Gost_CitationLong_FL" >
  450.     <xsl:param name="LCID" />
  451.     <xsl:variable name="_LCID">
  452.       <xsl:call-template name="localLCID">
  453.         <xsl:with-param name="LCID" select="$LCID"/>
  454.       </xsl:call-template>
  455.     </xsl:variable>
  456.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationLong/b:FL"/>
  457.   </xsl:template>
  458.  
  459.   
  460.   <xsl:template name="templ_prop_Gost_CitationShort_FML" >
  461.     <xsl:param name="LCID" />
  462.     <xsl:variable name="_LCID">
  463.       <xsl:call-template name="localLCID">
  464.         <xsl:with-param name="LCID" select="$LCID"/>
  465.       </xsl:call-template>
  466.     </xsl:variable>
  467.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationShort/b:FML"/>
  468.   </xsl:template>
  469.  
  470.   
  471.   <xsl:template name="templ_prop_Gost_CitationShort_FM" >
  472.     <xsl:param name="LCID" />
  473.     <xsl:variable name="_LCID">
  474.       <xsl:call-template name="localLCID">
  475.         <xsl:with-param name="LCID" select="$LCID"/>
  476.       </xsl:call-template>
  477.     </xsl:variable>
  478.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationShort/b:FM"/>
  479.   </xsl:template>
  480.  
  481.   
  482.   <xsl:template name="templ_prop_Gost_CitationShort_ML" >
  483.     <xsl:param name="LCID" />
  484.     <xsl:variable name="_LCID">
  485.       <xsl:call-template name="localLCID">
  486.         <xsl:with-param name="LCID" select="$LCID"/>
  487.       </xsl:call-template>
  488.     </xsl:variable>
  489.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationShort/b:ML"/>
  490.   </xsl:template>
  491.  
  492.   
  493.   <xsl:template name="templ_prop_Gost_CitationShort_FL" >
  494.     <xsl:param name="LCID" />
  495.     <xsl:variable name="_LCID">
  496.       <xsl:call-template name="localLCID">
  497.         <xsl:with-param name="LCID" select="$LCID"/>
  498.       </xsl:call-template>
  499.     </xsl:variable>
  500.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationShort/b:FL"/>
  501.   </xsl:template>
  502.  
  503.   
  504.   <xsl:template name="templ_prop_ISO690_CitationLong_FML" >
  505.     <xsl:param name="LCID" />
  506.     <xsl:variable name="_LCID">
  507.       <xsl:call-template name="localLCID">
  508.         <xsl:with-param name="LCID" select="$LCID"/>
  509.       </xsl:call-template>
  510.     </xsl:variable>
  511.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationLong/b:FML"/>
  512.   </xsl:template>
  513.  
  514.   
  515.   <xsl:template name="templ_prop_ISO690_CitationLong_FM" >
  516.     <xsl:param name="LCID" />
  517.     <xsl:variable name="_LCID">
  518.       <xsl:call-template name="localLCID">
  519.         <xsl:with-param name="LCID" select="$LCID"/>
  520.       </xsl:call-template>
  521.     </xsl:variable>
  522.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationLong/b:FM"/>
  523.   </xsl:template>
  524.  
  525.   
  526.   <xsl:template name="templ_prop_ISO690_CitationLong_ML" >
  527.     <xsl:param name="LCID" />
  528.     <xsl:variable name="_LCID">
  529.       <xsl:call-template name="localLCID">
  530.         <xsl:with-param name="LCID" select="$LCID"/>
  531.       </xsl:call-template>
  532.     </xsl:variable>
  533.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationLong/b:ML"/>
  534.   </xsl:template>
  535.  
  536.   
  537.   <xsl:template name="templ_prop_ISO690_CitationLong_FL" >
  538.     <xsl:param name="LCID" />
  539.     <xsl:variable name="_LCID">
  540.       <xsl:call-template name="localLCID">
  541.         <xsl:with-param name="LCID" select="$LCID"/>
  542.       </xsl:call-template>
  543.     </xsl:variable>
  544.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationLong/b:FL"/>
  545.   </xsl:template>
  546.  
  547.   
  548.   <xsl:template name="templ_prop_ISO690_CitationShort_FML" >
  549.     <xsl:param name="LCID" />
  550.     <xsl:variable name="_LCID">
  551.       <xsl:call-template name="localLCID">
  552.         <xsl:with-param name="LCID" select="$LCID"/>
  553.       </xsl:call-template>
  554.     </xsl:variable>
  555.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationShort/b:FML"/>
  556.   </xsl:template>
  557.  
  558.   
  559.   <xsl:template name="templ_prop_ISO690_CitationShort_FM" >
  560.     <xsl:param name="LCID" />
  561.     <xsl:variable name="_LCID">
  562.       <xsl:call-template name="localLCID">
  563.         <xsl:with-param name="LCID" select="$LCID"/>
  564.       </xsl:call-template>
  565.     </xsl:variable>
  566.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationShort/b:FM"/>
  567.   </xsl:template>
  568.  
  569.   
  570.   <xsl:template name="templ_prop_ISO690_CitationShort_ML" >
  571.     <xsl:param name="LCID" />
  572.     <xsl:variable name="_LCID">
  573.       <xsl:call-template name="localLCID">
  574.         <xsl:with-param name="LCID" select="$LCID"/>
  575.       </xsl:call-template>
  576.     </xsl:variable>
  577.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationShort/b:ML"/>
  578.   </xsl:template>
  579.  
  580.   
  581.   <xsl:template name="templ_prop_ISO690_CitationShort_FL" >
  582.     <xsl:param name="LCID" />
  583.     <xsl:variable name="_LCID">
  584.       <xsl:call-template name="localLCID">
  585.         <xsl:with-param name="LCID" select="$LCID"/>
  586.       </xsl:call-template>
  587.     </xsl:variable>
  588.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationShort/b:FL"/>
  589.   </xsl:template>
  590.  
  591.   
  592.   <xsl:template name="templ_str_OnlineCap" >
  593.     <xsl:param name="LCID" />
  594.     <xsl:variable name="_LCID">
  595.       <xsl:call-template name="localLCID">
  596.         <xsl:with-param name="LCID" select="$LCID"/>
  597.       </xsl:call-template>
  598.     </xsl:variable>
  599.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:OnlineCap"/>
  600.   </xsl:template>
  601.  
  602.   
  603.   <xsl:template name="templ_str_OnlineUnCap" >
  604.     <xsl:param name="LCID" />
  605.     <xsl:variable name="_LCID">
  606.       <xsl:call-template name="localLCID">
  607.         <xsl:with-param name="LCID" select="$LCID"/>
  608.       </xsl:call-template>
  609.     </xsl:variable>
  610.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:OnlineUnCap"/>
  611.   </xsl:template>
  612.  
  613.   
  614.   <xsl:template name="templ_str_FiledCap" >
  615.     <xsl:param name="LCID" />
  616.     <xsl:variable name="_LCID">
  617.       <xsl:call-template name="localLCID">
  618.         <xsl:with-param name="LCID" select="$LCID"/>
  619.       </xsl:call-template>
  620.     </xsl:variable>
  621.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:FiledCap"/>
  622.   </xsl:template>
  623.  
  624.   
  625.   <xsl:template name="templ_str_PatentFiledCap" >
  626.     <xsl:param name="LCID" />
  627.     <xsl:variable name="_LCID">
  628.       <xsl:call-template name="localLCID">
  629.         <xsl:with-param name="LCID" select="$LCID"/>
  630.       </xsl:call-template>
  631.     </xsl:variable>
  632.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PatentFiledCap"/>
  633.   </xsl:template>
  634.  
  635.   
  636.   <xsl:template name="templ_str_InCap" >
  637.     <xsl:param name="LCID" />
  638.     <xsl:variable name="_LCID">
  639.       <xsl:call-template name="localLCID">
  640.         <xsl:with-param name="LCID" select="$LCID"/>
  641.       </xsl:call-template>
  642.     </xsl:variable>
  643.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InCap"/>
  644.   </xsl:template>
  645.  
  646.   
  647.   <xsl:template name="templ_str_InNameCap" >
  648.     <xsl:param name="LCID" />
  649.     <xsl:variable name="_LCID">
  650.       <xsl:call-template name="localLCID">
  651.         <xsl:with-param name="LCID" select="$LCID"/>
  652.       </xsl:call-template>
  653.     </xsl:variable>
  654.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InNameCap"/>
  655.   </xsl:template>
  656.  
  657.   
  658.   <xsl:template name="templ_str_WithUnCap" >
  659.     <xsl:param name="LCID" />
  660.     <xsl:variable name="_LCID">
  661.       <xsl:call-template name="localLCID">
  662.         <xsl:with-param name="LCID" select="$LCID"/>
  663.       </xsl:call-template>
  664.     </xsl:variable>
  665.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:WithUnCap"/>
  666.   </xsl:template>
  667.  
  668.   
  669.   <xsl:template name="templ_str_VersionShortCap" >
  670.     <xsl:param name="LCID" />
  671.     <xsl:variable name="_LCID">
  672.       <xsl:call-template name="localLCID">
  673.         <xsl:with-param name="LCID" select="$LCID"/>
  674.       </xsl:call-template>
  675.     </xsl:variable>
  676.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VersionShortCap"/>
  677.   </xsl:template>
  678.  
  679.   
  680.   <xsl:template name="templ_str_InterviewCap" >
  681.     <xsl:param name="LCID" />
  682.     <xsl:variable name="_LCID">
  683.       <xsl:call-template name="localLCID">
  684.         <xsl:with-param name="LCID" select="$LCID"/>
  685.       </xsl:call-template>
  686.     </xsl:variable>
  687.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InterviewCap"/>
  688.   </xsl:template>
  689.  
  690.   
  691.   <xsl:template name="templ_str_InterviewWithCap" >
  692.     <xsl:param name="LCID" />
  693.     <xsl:variable name="_LCID">
  694.       <xsl:call-template name="localLCID">
  695.         <xsl:with-param name="LCID" select="$LCID"/>
  696.       </xsl:call-template>
  697.     </xsl:variable>
  698.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InterviewWithCap"/>
  699.   </xsl:template>
  700.  
  701.   
  702.   <xsl:template name="templ_str_InterviewByCap" >
  703.     <xsl:param name="LCID" />
  704.     <xsl:variable name="_LCID">
  705.       <xsl:call-template name="localLCID">
  706.         <xsl:with-param name="LCID" select="$LCID"/>
  707.       </xsl:call-template>
  708.     </xsl:variable>
  709.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InterviewByCap"/>
  710.   </xsl:template>
  711.  
  712.   
  713.   <xsl:template name="templ_str_ByCap" >
  714.     <xsl:param name="LCID" />
  715.     <xsl:variable name="_LCID">
  716.       <xsl:call-template name="localLCID">
  717.         <xsl:with-param name="LCID" select="$LCID"/>
  718.       </xsl:call-template>
  719.     </xsl:variable>
  720.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ByCap"/>
  721.   </xsl:template>
  722.  
  723.   
  724.   <xsl:template name="templ_str_AndUnCap" >
  725.     <xsl:param name="LCID" />
  726.     <xsl:variable name="_LCID">
  727.       <xsl:call-template name="localLCID">
  728.         <xsl:with-param name="LCID" select="$LCID"/>
  729.       </xsl:call-template>
  730.     </xsl:variable>
  731.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:AndUnCap"/>
  732.   </xsl:template>
  733.  
  734.   
  735.   <xsl:template name="templ_str_AndOthersUnCap" >
  736.     <xsl:param name="LCID" />
  737.     <xsl:variable name="_LCID">
  738.       <xsl:call-template name="localLCID">
  739.         <xsl:with-param name="LCID" select="$LCID"/>
  740.       </xsl:call-template>
  741.     </xsl:variable>
  742.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:AndOthersUnCap"/>
  743.   </xsl:template>
  744.  
  745.   
  746.   <xsl:template name="templ_str_MotionPictureCap" >
  747.     <xsl:param name="LCID" />
  748.     <xsl:variable name="_LCID">
  749.       <xsl:call-template name="localLCID">
  750.         <xsl:with-param name="LCID" select="$LCID"/>
  751.       </xsl:call-template>
  752.     </xsl:variable>
  753.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:MotionPictureCap"/>
  754.   </xsl:template>
  755.  
  756.   
  757.   <xsl:template name="templ_str_PatentCap" >
  758.     <xsl:param name="LCID" />
  759.     <xsl:variable name="_LCID">
  760.       <xsl:call-template name="localLCID">
  761.         <xsl:with-param name="LCID" select="$LCID"/>
  762.       </xsl:call-template>
  763.     </xsl:variable>
  764.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PatentCap"/>
  765.   </xsl:template>
  766.  
  767.   
  768.   <xsl:template name="templ_str_EditionShortUnCap" >
  769.     <xsl:param name="LCID" />
  770.     <xsl:variable name="_LCID">
  771.       <xsl:call-template name="localLCID">
  772.         <xsl:with-param name="LCID" select="$LCID"/>
  773.       </xsl:call-template>
  774.     </xsl:variable>
  775.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditionShortUnCap"/>
  776.   </xsl:template>
  777.  
  778.   
  779.   <xsl:template name="templ_str_EditionUnCap" >
  780.     <xsl:param name="LCID" />
  781.     <xsl:variable name="_LCID">
  782.       <xsl:call-template name="localLCID">
  783.         <xsl:with-param name="LCID" select="$LCID"/>
  784.       </xsl:call-template>
  785.     </xsl:variable>
  786.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditionUnCap"/>
  787.   </xsl:template>
  788.  
  789.   
  790.   <xsl:template name="templ_str_RetrievedFromCap" >
  791.     <xsl:param name="LCID" />
  792.     <xsl:variable name="_LCID">
  793.       <xsl:call-template name="localLCID">
  794.         <xsl:with-param name="LCID" select="$LCID"/>
  795.       </xsl:call-template>
  796.     </xsl:variable>
  797.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:RetrievedFromCap"/>
  798.   </xsl:template>
  799.  
  800.   
  801.   <xsl:template name="templ_str_RetrievedCap" >
  802.     <xsl:param name="LCID" />
  803.     <xsl:variable name="_LCID">
  804.       <xsl:call-template name="localLCID">
  805.         <xsl:with-param name="LCID" select="$LCID"/>
  806.       </xsl:call-template>
  807.     </xsl:variable>
  808.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:RetrievedCap"/>
  809.   </xsl:template>
  810.  
  811.   
  812.   <xsl:template name="templ_str_FromCap" >
  813.     <xsl:param name="LCID" />
  814.     <xsl:variable name="_LCID">
  815.       <xsl:call-template name="localLCID">
  816.         <xsl:with-param name="LCID" select="$LCID"/>
  817.       </xsl:call-template>
  818.     </xsl:variable>
  819.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:FromCap"/>
  820.   </xsl:template>
  821.  
  822.   
  823.   <xsl:template name="templ_str_FromUnCap" >
  824.     <xsl:param name="LCID" />
  825.     <xsl:variable name="_LCID">
  826.       <xsl:call-template name="localLCID">
  827.         <xsl:with-param name="LCID" select="$LCID"/>
  828.       </xsl:call-template>
  829.     </xsl:variable>
  830.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:FromUnCap"/>
  831.   </xsl:template>
  832.  
  833.   
  834.   <xsl:template name="templ_str_NoDateShortUnCap" >
  835.     <xsl:param name="LCID" />
  836.     <xsl:variable name="_LCID">
  837.       <xsl:call-template name="localLCID">
  838.         <xsl:with-param name="LCID" select="$LCID"/>
  839.       </xsl:call-template>
  840.     </xsl:variable>
  841.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:NoDateShortUnCap"/>
  842.   </xsl:template>
  843.  
  844.   
  845.   <xsl:template name="templ_str_NumberShortCap" >
  846.     <xsl:param name="LCID" />
  847.     <xsl:variable name="_LCID">
  848.       <xsl:call-template name="localLCID">
  849.         <xsl:with-param name="LCID" select="$LCID"/>
  850.       </xsl:call-template>
  851.     </xsl:variable>
  852.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:NumberShortCap"/>
  853.   </xsl:template>
  854.  
  855.   
  856.   <xsl:template name="templ_str_NumberShortUnCap" >
  857.     <xsl:param name="LCID" />
  858.     <xsl:variable name="_LCID">
  859.       <xsl:call-template name="localLCID">
  860.         <xsl:with-param name="LCID" select="$LCID"/>
  861.       </xsl:call-template>
  862.     </xsl:variable>
  863.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:NumberShortUnCap"/>
  864.   </xsl:template>
  865.  
  866.   
  867.   <xsl:template name="templ_str_PatentNumberShortCap" >
  868.     <xsl:param name="LCID" />
  869.     <xsl:variable name="_LCID">
  870.       <xsl:call-template name="localLCID">
  871.         <xsl:with-param name="LCID" select="$LCID"/>
  872.       </xsl:call-template>
  873.     </xsl:variable>
  874.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PatentNumberShortCap"/>
  875.   </xsl:template>
  876.  
  877.   
  878.   <xsl:template name="templ_str_PagesCountinousShort" >
  879.     <xsl:param name="LCID" />
  880.     <xsl:variable name="_LCID">
  881.       <xsl:call-template name="localLCID">
  882.         <xsl:with-param name="LCID" select="$LCID"/>
  883.       </xsl:call-template>
  884.     </xsl:variable>
  885.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PagesCountinousShort"/>
  886.   </xsl:template>
  887.  
  888.   
  889.   <xsl:template name="templ_str_PageShort" >
  890.     <xsl:param name="LCID" />
  891.     <xsl:variable name="_LCID">
  892.       <xsl:call-template name="localLCID">
  893.         <xsl:with-param name="LCID" select="$LCID"/>
  894.       </xsl:call-template>
  895.     </xsl:variable>
  896.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PageShort"/>
  897.   </xsl:template>
  898.  
  899.   
  900.   <xsl:template name="templ_str_SineNomineShort" >
  901.     <xsl:param name="LCID" />
  902.     <xsl:variable name="_LCID">
  903.       <xsl:call-template name="localLCID">
  904.         <xsl:with-param name="LCID" select="$LCID"/>
  905.       </xsl:call-template>
  906.     </xsl:variable>
  907.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:SineNomineShort"/>
  908.   </xsl:template>
  909.  
  910.   
  911.   <xsl:template name="templ_str_SineLocoShort" >
  912.     <xsl:param name="LCID" />
  913.     <xsl:variable name="_LCID">
  914.       <xsl:call-template name="localLCID">
  915.         <xsl:with-param name="LCID" select="$LCID"/>
  916.       </xsl:call-template>
  917.     </xsl:variable>
  918.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:SineLocoShort"/>
  919.   </xsl:template>
  920.  
  921.   
  922.   <xsl:template name="templ_str_SineLocoSineNomineShort" >
  923.     <xsl:param name="LCID" />
  924.     <xsl:variable name="_LCID">
  925.       <xsl:call-template name="localLCID">
  926.         <xsl:with-param name="LCID" select="$LCID"/>
  927.       </xsl:call-template>
  928.     </xsl:variable>
  929.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:SineLocoSineNomineShort"/>
  930.   </xsl:template>
  931.  
  932.   
  933.   <xsl:template name="templ_str_VolumeOfShortCap" >
  934.     <xsl:param name="LCID" />
  935.     <xsl:variable name="_LCID">
  936.       <xsl:call-template name="localLCID">
  937.         <xsl:with-param name="LCID" select="$LCID"/>
  938.       </xsl:call-template>
  939.     </xsl:variable>
  940.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumeOfShortCap"/>
  941.   </xsl:template>
  942.  
  943.   
  944.   <xsl:template name="templ_str_VolumesOfShortCap" >
  945.     <xsl:param name="LCID" />
  946.     <xsl:variable name="_LCID">
  947.       <xsl:call-template name="localLCID">
  948.         <xsl:with-param name="LCID" select="$LCID"/>
  949.       </xsl:call-template>
  950.     </xsl:variable>
  951.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumesOfShortCap"/>
  952.   </xsl:template>
  953.  
  954.   
  955.   <xsl:template name="templ_str_VolumeShortCap" >
  956.     <xsl:param name="LCID" />
  957.     <xsl:variable name="_LCID">
  958.       <xsl:call-template name="localLCID">
  959.         <xsl:with-param name="LCID" select="$LCID"/>
  960.       </xsl:call-template>
  961.     </xsl:variable>
  962.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumeShortCap"/>
  963.   </xsl:template>
  964.  
  965.   
  966.   <xsl:template name="templ_str_VolumeShortUnCap" >
  967.     <xsl:param name="LCID" />
  968.     <xsl:variable name="_LCID">
  969.       <xsl:call-template name="localLCID">
  970.         <xsl:with-param name="LCID" select="$LCID"/>
  971.       </xsl:call-template>
  972.     </xsl:variable>
  973.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumeShortUnCap"/>
  974.   </xsl:template>
  975.  
  976.   
  977.   <xsl:template name="templ_str_VolumesShortUnCap" >
  978.     <xsl:param name="LCID" />
  979.     <xsl:variable name="_LCID">
  980.       <xsl:call-template name="localLCID">
  981.         <xsl:with-param name="LCID" select="$LCID"/>
  982.       </xsl:call-template>
  983.     </xsl:variable>
  984.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumesShortUnCap"/>
  985.   </xsl:template>
  986.  
  987.   
  988.   <xsl:template name="templ_str_VolumesShortCap" >
  989.     <xsl:param name="LCID" />
  990.     <xsl:variable name="_LCID">
  991.       <xsl:call-template name="localLCID">
  992.         <xsl:with-param name="LCID" select="$LCID"/>
  993.       </xsl:call-template>
  994.     </xsl:variable>
  995.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumesShortCap"/>
  996.   </xsl:template>
  997.  
  998.   
  999.   <xsl:template name="templ_str_VolumeCap" >
  1000.     <xsl:param name="LCID" />
  1001.     <xsl:variable name="_LCID">
  1002.       <xsl:call-template name="localLCID">
  1003.         <xsl:with-param name="LCID" select="$LCID"/>
  1004.       </xsl:call-template>
  1005.     </xsl:variable>
  1006.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumeCap"/>
  1007.   </xsl:template>
  1008.  
  1009.   
  1010.   <xsl:template name="templ_str_AuthorShortUnCap" >
  1011.     <xsl:param name="LCID" />
  1012.     <xsl:variable name="_LCID">
  1013.       <xsl:call-template name="localLCID">
  1014.         <xsl:with-param name="LCID" select="$LCID"/>
  1015.       </xsl:call-template>
  1016.     </xsl:variable>
  1017.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:AuthorShortUnCap"/>
  1018.   </xsl:template>
  1019.  
  1020.   
  1021.   <xsl:template name="templ_str_BookAuthorShortUnCap" >
  1022.     <xsl:param name="LCID" />
  1023.     <xsl:variable name="_LCID">
  1024.       <xsl:call-template name="localLCID">
  1025.         <xsl:with-param name="LCID" select="$LCID"/>
  1026.       </xsl:call-template>
  1027.     </xsl:variable>
  1028.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:BookAuthorShortUnCap"/>
  1029.   </xsl:template>
  1030.  
  1031.   
  1032.   <xsl:template name="templ_str_ArtistShortUnCap" >
  1033.     <xsl:param name="LCID" />
  1034.     <xsl:variable name="_LCID">
  1035.       <xsl:call-template name="localLCID">
  1036.         <xsl:with-param name="LCID" select="$LCID"/>
  1037.       </xsl:call-template>
  1038.     </xsl:variable>
  1039.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ArtistShortUnCap"/>
  1040.   </xsl:template>
  1041.  
  1042.   
  1043.   <xsl:template name="templ_str_WriterCap" >
  1044.     <xsl:param name="LCID" />
  1045.     <xsl:variable name="_LCID">
  1046.       <xsl:call-template name="localLCID">
  1047.         <xsl:with-param name="LCID" select="$LCID"/>
  1048.       </xsl:call-template>
  1049.     </xsl:variable>
  1050.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:WriterCap"/>
  1051.   </xsl:template>
  1052.  
  1053.   
  1054.   <xsl:template name="templ_str_WritersCap" >
  1055.     <xsl:param name="LCID" />
  1056.     <xsl:variable name="_LCID">
  1057.       <xsl:call-template name="localLCID">
  1058.         <xsl:with-param name="LCID" select="$LCID"/>
  1059.       </xsl:call-template>
  1060.     </xsl:variable>
  1061.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:WritersCap"/>
  1062.   </xsl:template>
  1063.  
  1064.   
  1065.   <xsl:template name="templ_str_WriterShortUnCap" >
  1066.     <xsl:param name="LCID" />
  1067.     <xsl:variable name="_LCID">
  1068.       <xsl:call-template name="localLCID">
  1069.         <xsl:with-param name="LCID" select="$LCID"/>
  1070.       </xsl:call-template>
  1071.     </xsl:variable>
  1072.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:WriterShortUnCap"/>
  1073.   </xsl:template>
  1074.  
  1075.   
  1076.   <xsl:template name="templ_str_ConductedByCap" >
  1077.     <xsl:param name="LCID" />
  1078.     <xsl:variable name="_LCID">
  1079.       <xsl:call-template name="localLCID">
  1080.         <xsl:with-param name="LCID" select="$LCID"/>
  1081.       </xsl:call-template>
  1082.     </xsl:variable>
  1083.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductedByCap"/>
  1084.   </xsl:template>
  1085.  
  1086.   
  1087.   <xsl:template name="templ_str_ConductedByUnCap" >
  1088.     <xsl:param name="LCID" />
  1089.     <xsl:variable name="_LCID">
  1090.       <xsl:call-template name="localLCID">
  1091.         <xsl:with-param name="LCID" select="$LCID"/>
  1092.       </xsl:call-template>
  1093.     </xsl:variable>
  1094.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductedByUnCap"/>
  1095.   </xsl:template>
  1096.  
  1097.   
  1098.   <xsl:template name="templ_str_ConductorCap" >
  1099.     <xsl:param name="LCID" />
  1100.     <xsl:variable name="_LCID">
  1101.       <xsl:call-template name="localLCID">
  1102.         <xsl:with-param name="LCID" select="$LCID"/>
  1103.       </xsl:call-template>
  1104.     </xsl:variable>
  1105.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorCap"/>
  1106.   </xsl:template>
  1107.  
  1108.   
  1109.   <xsl:template name="templ_str_ConductorsCap" >
  1110.     <xsl:param name="LCID" />
  1111.     <xsl:variable name="_LCID">
  1112.       <xsl:call-template name="localLCID">
  1113.         <xsl:with-param name="LCID" select="$LCID"/>
  1114.       </xsl:call-template>
  1115.     </xsl:variable>
  1116.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorsCap"/>
  1117.   </xsl:template>
  1118.  
  1119.   
  1120.   <xsl:template name="templ_str_ConductorShortCap" >
  1121.     <xsl:param name="LCID" />
  1122.     <xsl:variable name="_LCID">
  1123.       <xsl:call-template name="localLCID">
  1124.         <xsl:with-param name="LCID" select="$LCID"/>
  1125.       </xsl:call-template>
  1126.     </xsl:variable>
  1127.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorShortCap"/>
  1128.   </xsl:template>
  1129.  
  1130.   
  1131.   <xsl:template name="templ_str_ConductorShortUnCap" >
  1132.     <xsl:param name="LCID" />
  1133.     <xsl:variable name="_LCID">
  1134.       <xsl:call-template name="localLCID">
  1135.         <xsl:with-param name="LCID" select="$LCID"/>
  1136.       </xsl:call-template>
  1137.     </xsl:variable>
  1138.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorShortUnCap"/>
  1139.   </xsl:template>
  1140.  
  1141.   
  1142.   <xsl:template name="templ_str_ConductorsShortCap" >
  1143.     <xsl:param name="LCID" />
  1144.     <xsl:variable name="_LCID">
  1145.       <xsl:call-template name="localLCID">
  1146.         <xsl:with-param name="LCID" select="$LCID"/>
  1147.       </xsl:call-template>
  1148.     </xsl:variable>
  1149.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorsShortCap"/>
  1150.   </xsl:template>
  1151.  
  1152.   
  1153.   <xsl:template name="templ_str_ConductorsShortUnCap" >
  1154.     <xsl:param name="LCID" />
  1155.     <xsl:variable name="_LCID">
  1156.       <xsl:call-template name="localLCID">
  1157.         <xsl:with-param name="LCID" select="$LCID"/>
  1158.       </xsl:call-template>
  1159.     </xsl:variable>
  1160.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorsShortUnCap"/>
  1161.   </xsl:template>
  1162.  
  1163.   
  1164.   <xsl:template name="templ_str_CounselShortUnCapIso" >
  1165.     <xsl:param name="LCID" />
  1166.     <xsl:variable name="_LCID">
  1167.       <xsl:call-template name="localLCID">
  1168.         <xsl:with-param name="LCID" select="$LCID"/>
  1169.       </xsl:call-template>
  1170.     </xsl:variable>
  1171.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CounselShortUnCapIso"/>
  1172.   </xsl:template>
  1173.  
  1174.   
  1175.   <xsl:template name="templ_str_CounselShortUnCap" >
  1176.     <xsl:param name="LCID" />
  1177.     <xsl:variable name="_LCID">
  1178.       <xsl:call-template name="localLCID">
  1179.         <xsl:with-param name="LCID" select="$LCID"/>
  1180.       </xsl:call-template>
  1181.     </xsl:variable>
  1182.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CounselShortUnCap"/>
  1183.   </xsl:template>
  1184.  
  1185.   
  1186.   <xsl:template name="templ_str_DirectedByCap" >
  1187.     <xsl:param name="LCID" />
  1188.     <xsl:variable name="_LCID">
  1189.       <xsl:call-template name="localLCID">
  1190.         <xsl:with-param name="LCID" select="$LCID"/>
  1191.       </xsl:call-template>
  1192.     </xsl:variable>
  1193.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectedByCap"/>
  1194.   </xsl:template>
  1195.  
  1196.   
  1197.   <xsl:template name="templ_str_DirectedByUnCap" >
  1198.     <xsl:param name="LCID" />
  1199.     <xsl:variable name="_LCID">
  1200.       <xsl:call-template name="localLCID">
  1201.         <xsl:with-param name="LCID" select="$LCID"/>
  1202.       </xsl:call-template>
  1203.     </xsl:variable>
  1204.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectedByUnCap"/>
  1205.   </xsl:template>
  1206.  
  1207.   
  1208.   <xsl:template name="templ_str_DirectorCap" >
  1209.     <xsl:param name="LCID" />
  1210.     <xsl:variable name="_LCID">
  1211.       <xsl:call-template name="localLCID">
  1212.         <xsl:with-param name="LCID" select="$LCID"/>
  1213.       </xsl:call-template>
  1214.     </xsl:variable>
  1215.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorCap"/>
  1216.   </xsl:template>
  1217.  
  1218.   
  1219.   <xsl:template name="templ_str_DirectorsCap" >
  1220.     <xsl:param name="LCID" />
  1221.     <xsl:variable name="_LCID">
  1222.       <xsl:call-template name="localLCID">
  1223.         <xsl:with-param name="LCID" select="$LCID"/>
  1224.       </xsl:call-template>
  1225.     </xsl:variable>
  1226.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorsCap"/>
  1227.   </xsl:template>
  1228.  
  1229.   
  1230.   <xsl:template name="templ_str_DirectorShortCap" >
  1231.     <xsl:param name="LCID" />
  1232.     <xsl:variable name="_LCID">
  1233.       <xsl:call-template name="localLCID">
  1234.         <xsl:with-param name="LCID" select="$LCID"/>
  1235.       </xsl:call-template>
  1236.     </xsl:variable>
  1237.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorShortCap"/>
  1238.   </xsl:template>
  1239.  
  1240.   
  1241.   <xsl:template name="templ_str_DirectorShortUnCap" >
  1242.     <xsl:param name="LCID" />
  1243.     <xsl:variable name="_LCID">
  1244.       <xsl:call-template name="localLCID">
  1245.         <xsl:with-param name="LCID" select="$LCID"/>
  1246.       </xsl:call-template>
  1247.     </xsl:variable>
  1248.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorShortUnCap"/>
  1249.   </xsl:template>
  1250.  
  1251.   
  1252.   <xsl:template name="templ_str_DirectorsShortCap" >
  1253.     <xsl:param name="LCID" />
  1254.     <xsl:variable name="_LCID">
  1255.       <xsl:call-template name="localLCID">
  1256.         <xsl:with-param name="LCID" select="$LCID"/>
  1257.       </xsl:call-template>
  1258.     </xsl:variable>
  1259.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorsShortCap"/>
  1260.   </xsl:template>
  1261.  
  1262.   
  1263.   <xsl:template name="templ_str_DirectorsShortUnCap" >
  1264.     <xsl:param name="LCID" />
  1265.     <xsl:variable name="_LCID">
  1266.       <xsl:call-template name="localLCID">
  1267.         <xsl:with-param name="LCID" select="$LCID"/>
  1268.       </xsl:call-template>
  1269.     </xsl:variable>
  1270.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorsShortUnCap"/>
  1271.   </xsl:template>
  1272.  
  1273.   
  1274.   <xsl:template name="templ_str_EditedByCap" >
  1275.     <xsl:param name="LCID" />
  1276.     <xsl:variable name="_LCID">
  1277.       <xsl:call-template name="localLCID">
  1278.         <xsl:with-param name="LCID" select="$LCID"/>
  1279.       </xsl:call-template>
  1280.     </xsl:variable>
  1281.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditedByCap"/>
  1282.   </xsl:template>
  1283.  
  1284.   
  1285.   <xsl:template name="templ_str_EditedByUnCap" >
  1286.     <xsl:param name="LCID" />
  1287.     <xsl:variable name="_LCID">
  1288.       <xsl:call-template name="localLCID">
  1289.         <xsl:with-param name="LCID" select="$LCID"/>
  1290.       </xsl:call-template>
  1291.     </xsl:variable>
  1292.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditedByUnCap"/>
  1293.   </xsl:template>
  1294.  
  1295.   
  1296.   <xsl:template name="templ_str_EditorCap" >
  1297.     <xsl:param name="LCID" />
  1298.     <xsl:variable name="_LCID">
  1299.       <xsl:call-template name="localLCID">
  1300.         <xsl:with-param name="LCID" select="$LCID"/>
  1301.       </xsl:call-template>
  1302.     </xsl:variable>
  1303.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorCap"/>
  1304.   </xsl:template>
  1305.  
  1306.   
  1307.   <xsl:template name="templ_str_EditorsCap" >
  1308.     <xsl:param name="LCID" />
  1309.     <xsl:variable name="_LCID">
  1310.       <xsl:call-template name="localLCID">
  1311.         <xsl:with-param name="LCID" select="$LCID"/>
  1312.       </xsl:call-template>
  1313.     </xsl:variable>
  1314.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorsCap"/>
  1315.   </xsl:template>
  1316.  
  1317.   
  1318.   <xsl:template name="templ_str_EditorShortCap" >
  1319.     <xsl:param name="LCID" />
  1320.     <xsl:variable name="_LCID">
  1321.       <xsl:call-template name="localLCID">
  1322.         <xsl:with-param name="LCID" select="$LCID"/>
  1323.       </xsl:call-template>
  1324.     </xsl:variable>
  1325.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorShortCap"/>
  1326.   </xsl:template>
  1327.  
  1328.   
  1329.   <xsl:template name="templ_str_EditorShortUnCap" >
  1330.     <xsl:param name="LCID" />
  1331.     <xsl:variable name="_LCID">
  1332.       <xsl:call-template name="localLCID">
  1333.         <xsl:with-param name="LCID" select="$LCID"/>
  1334.       </xsl:call-template>
  1335.     </xsl:variable>
  1336.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorShortUnCap"/>
  1337.   </xsl:template>
  1338.  
  1339.   
  1340.   <xsl:template name="templ_str_EditorsShortCap" >
  1341.     <xsl:param name="LCID" />
  1342.     <xsl:variable name="_LCID">
  1343.       <xsl:call-template name="localLCID">
  1344.         <xsl:with-param name="LCID" select="$LCID"/>
  1345.       </xsl:call-template>
  1346.     </xsl:variable>
  1347.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorsShortCap"/>
  1348.   </xsl:template>
  1349.  
  1350.   
  1351.   <xsl:template name="templ_str_EditorsShortUnCap" >
  1352.     <xsl:param name="LCID" />
  1353.     <xsl:variable name="_LCID">
  1354.       <xsl:call-template name="localLCID">
  1355.         <xsl:with-param name="LCID" select="$LCID"/>
  1356.       </xsl:call-template>
  1357.     </xsl:variable>
  1358.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorsShortUnCap"/>
  1359.   </xsl:template>
  1360.  
  1361.   
  1362.   <xsl:template name="templ_str_IntervieweeShortUnCap" >
  1363.     <xsl:param name="LCID" />
  1364.     <xsl:variable name="_LCID">
  1365.       <xsl:call-template name="localLCID">
  1366.         <xsl:with-param name="LCID" select="$LCID"/>
  1367.       </xsl:call-template>
  1368.     </xsl:variable>
  1369.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:IntervieweeShortUnCap"/>
  1370.   </xsl:template>
  1371.  
  1372.   
  1373.   <xsl:template name="templ_str_InterviewerCap" >
  1374.     <xsl:param name="LCID" />
  1375.     <xsl:variable name="_LCID">
  1376.       <xsl:call-template name="localLCID">
  1377.         <xsl:with-param name="LCID" select="$LCID"/>
  1378.       </xsl:call-template>
  1379.     </xsl:variable>
  1380.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InterviewerCap"/>
  1381.   </xsl:template>
  1382.  
  1383.   
  1384.   <xsl:template name="templ_str_InterviewersCap" >
  1385.     <xsl:param name="LCID" />
  1386.     <xsl:variable name="_LCID">
  1387.       <xsl:call-template name="localLCID">
  1388.         <xsl:with-param name="LCID" select="$LCID"/>
  1389.       </xsl:call-template>
  1390.     </xsl:variable>
  1391.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InterviewersCap"/>
  1392.   </xsl:template>
  1393.  
  1394.   
  1395.   <xsl:template name="templ_str_InventorShortUnCap" >
  1396.     <xsl:param name="LCID" />
  1397.     <xsl:variable name="_LCID">
  1398.       <xsl:call-template name="localLCID">
  1399.         <xsl:with-param name="LCID" select="$LCID"/>
  1400.       </xsl:call-template>
  1401.     </xsl:variable>
  1402.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InventorShortUnCap"/>
  1403.   </xsl:template>
  1404.  
  1405.   
  1406.   <xsl:template name="templ_str_PerformedByCap" >
  1407.     <xsl:param name="LCID" />
  1408.     <xsl:variable name="_LCID">
  1409.       <xsl:call-template name="localLCID">
  1410.         <xsl:with-param name="LCID" select="$LCID"/>
  1411.       </xsl:call-template>
  1412.     </xsl:variable>
  1413.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformedByCap"/>
  1414.   </xsl:template>
  1415.  
  1416.   
  1417.   <xsl:template name="templ_str_PerformedByUnCap" >
  1418.     <xsl:param name="LCID" />
  1419.     <xsl:variable name="_LCID">
  1420.       <xsl:call-template name="localLCID">
  1421.         <xsl:with-param name="LCID" select="$LCID"/>
  1422.       </xsl:call-template>
  1423.     </xsl:variable>
  1424.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformedByUnCap"/>
  1425.   </xsl:template>
  1426.  
  1427.   
  1428.   <xsl:template name="templ_str_PerformerCap" >
  1429.     <xsl:param name="LCID" />
  1430.     <xsl:variable name="_LCID">
  1431.       <xsl:call-template name="localLCID">
  1432.         <xsl:with-param name="LCID" select="$LCID"/>
  1433.       </xsl:call-template>
  1434.     </xsl:variable>
  1435.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformerCap"/>
  1436.   </xsl:template>
  1437.  
  1438.   
  1439.   <xsl:template name="templ_str_PerformersCap" >
  1440.     <xsl:param name="LCID" />
  1441.     <xsl:variable name="_LCID">
  1442.       <xsl:call-template name="localLCID">
  1443.         <xsl:with-param name="LCID" select="$LCID"/>
  1444.       </xsl:call-template>
  1445.     </xsl:variable>
  1446.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformersCap"/>
  1447.   </xsl:template>
  1448.  
  1449.   
  1450.   <xsl:template name="templ_str_PerformerShortCap" >
  1451.     <xsl:param name="LCID" />
  1452.     <xsl:variable name="_LCID">
  1453.       <xsl:call-template name="localLCID">
  1454.         <xsl:with-param name="LCID" select="$LCID"/>
  1455.       </xsl:call-template>
  1456.     </xsl:variable>
  1457.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformerShortCap"/>
  1458.   </xsl:template>
  1459.  
  1460.   
  1461.   <xsl:template name="templ_str_PerformerShortUnCap" >
  1462.     <xsl:param name="LCID" />
  1463.     <xsl:variable name="_LCID">
  1464.       <xsl:call-template name="localLCID">
  1465.         <xsl:with-param name="LCID" select="$LCID"/>
  1466.       </xsl:call-template>
  1467.     </xsl:variable>
  1468.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformerShortUnCap"/>
  1469.   </xsl:template>
  1470.  
  1471.   
  1472.   <xsl:template name="templ_str_PerformersShortCap" >
  1473.     <xsl:param name="LCID" />
  1474.     <xsl:variable name="_LCID">
  1475.       <xsl:call-template name="localLCID">
  1476.         <xsl:with-param name="LCID" select="$LCID"/>
  1477.       </xsl:call-template>
  1478.     </xsl:variable>
  1479.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformersShortCap"/>
  1480.   </xsl:template>
  1481.  
  1482.   
  1483.   <xsl:template name="templ_str_PerformersShortUnCap" >
  1484.     <xsl:param name="LCID" />
  1485.     <xsl:variable name="_LCID">
  1486.       <xsl:call-template name="localLCID">
  1487.         <xsl:with-param name="LCID" select="$LCID"/>
  1488.       </xsl:call-template>
  1489.     </xsl:variable>
  1490.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformersShortUnCap"/>
  1491.   </xsl:template>
  1492.  
  1493.   
  1494.   <xsl:template name="templ_str_ProducedByCap" >
  1495.     <xsl:param name="LCID" />
  1496.     <xsl:variable name="_LCID">
  1497.       <xsl:call-template name="localLCID">
  1498.         <xsl:with-param name="LCID" select="$LCID"/>
  1499.       </xsl:call-template>
  1500.     </xsl:variable>
  1501.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducedByCap"/>
  1502.   </xsl:template>
  1503.  
  1504.   
  1505.   <xsl:template name="templ_str_ProducedByUnCap" >
  1506.     <xsl:param name="LCID" />
  1507.     <xsl:variable name="_LCID">
  1508.       <xsl:call-template name="localLCID">
  1509.         <xsl:with-param name="LCID" select="$LCID"/>
  1510.       </xsl:call-template>
  1511.     </xsl:variable>
  1512.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducedByUnCap"/>
  1513.   </xsl:template>
  1514.  
  1515.   
  1516.   <xsl:template name="templ_str_ProducerCap" >
  1517.     <xsl:param name="LCID" />
  1518.     <xsl:variable name="_LCID">
  1519.       <xsl:call-template name="localLCID">
  1520.         <xsl:with-param name="LCID" select="$LCID"/>
  1521.       </xsl:call-template>
  1522.     </xsl:variable>
  1523.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducerCap"/>
  1524.   </xsl:template>
  1525.  
  1526.   
  1527.   <xsl:template name="templ_str_ProducersCap" >
  1528.     <xsl:param name="LCID" />
  1529.     <xsl:variable name="_LCID">
  1530.       <xsl:call-template name="localLCID">
  1531.         <xsl:with-param name="LCID" select="$LCID"/>
  1532.       </xsl:call-template>
  1533.     </xsl:variable>
  1534.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducersCap"/>
  1535.   </xsl:template>
  1536.  
  1537.   
  1538.   <xsl:template name="templ_str_ProductionCompanyShortCap" >
  1539.     <xsl:param name="LCID" />
  1540.     <xsl:variable name="_LCID">
  1541.       <xsl:call-template name="localLCID">
  1542.         <xsl:with-param name="LCID" select="$LCID"/>
  1543.       </xsl:call-template>
  1544.     </xsl:variable>
  1545.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProductionCompanyShortCap"/>
  1546.   </xsl:template>
  1547.  
  1548.   
  1549.   <xsl:template name="templ_str_ProducerShortCap" >
  1550.     <xsl:param name="LCID" />
  1551.     <xsl:variable name="_LCID">
  1552.       <xsl:call-template name="localLCID">
  1553.         <xsl:with-param name="LCID" select="$LCID"/>
  1554.       </xsl:call-template>
  1555.     </xsl:variable>
  1556.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducerShortCap"/>
  1557.   </xsl:template>
  1558.  
  1559.   
  1560.   <xsl:template name="templ_str_ProducersShortCap" >
  1561.     <xsl:param name="LCID" />
  1562.     <xsl:variable name="_LCID">
  1563.       <xsl:call-template name="localLCID">
  1564.         <xsl:with-param name="LCID" select="$LCID"/>
  1565.       </xsl:call-template>
  1566.     </xsl:variable>
  1567.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducersShortCap"/>
  1568.   </xsl:template>
  1569.  
  1570.   
  1571.   <xsl:template name="templ_str_ProducerShortUnCap" >
  1572.     <xsl:param name="LCID" />
  1573.     <xsl:variable name="_LCID">
  1574.       <xsl:call-template name="localLCID">
  1575.         <xsl:with-param name="LCID" select="$LCID"/>
  1576.       </xsl:call-template>
  1577.     </xsl:variable>
  1578.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducerShortUnCap"/>
  1579.   </xsl:template>
  1580.  
  1581.   
  1582.   <xsl:template name="templ_str_TranslatedByCap" >
  1583.     <xsl:param name="LCID" />
  1584.     <xsl:variable name="_LCID">
  1585.       <xsl:call-template name="localLCID">
  1586.         <xsl:with-param name="LCID" select="$LCID"/>
  1587.       </xsl:call-template>
  1588.     </xsl:variable>
  1589.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatedByCap"/>
  1590.   </xsl:template>
  1591.  
  1592.   
  1593.   <xsl:template name="templ_str_TranslatedByUnCap" >
  1594.     <xsl:param name="LCID" />
  1595.     <xsl:variable name="_LCID">
  1596.       <xsl:call-template name="localLCID">
  1597.         <xsl:with-param name="LCID" select="$LCID"/>
  1598.       </xsl:call-template>
  1599.     </xsl:variable>
  1600.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatedByUnCap"/>
  1601.   </xsl:template>
  1602.  
  1603.   
  1604.   <xsl:template name="templ_str_TranslatorCap" >
  1605.     <xsl:param name="LCID" />
  1606.     <xsl:variable name="_LCID">
  1607.       <xsl:call-template name="localLCID">
  1608.         <xsl:with-param name="LCID" select="$LCID"/>
  1609.       </xsl:call-template>
  1610.     </xsl:variable>
  1611.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorCap"/>
  1612.   </xsl:template>
  1613.  
  1614.   
  1615.   <xsl:template name="templ_str_TranslatorsCap" >
  1616.     <xsl:param name="LCID" />
  1617.     <xsl:variable name="_LCID">
  1618.       <xsl:call-template name="localLCID">
  1619.         <xsl:with-param name="LCID" select="$LCID"/>
  1620.       </xsl:call-template>
  1621.     </xsl:variable>
  1622.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorsCap"/>
  1623.   </xsl:template>
  1624.  
  1625.   
  1626.   <xsl:template name="templ_str_TranslatorShortCap" >
  1627.     <xsl:param name="LCID" />
  1628.     <xsl:variable name="_LCID">
  1629.       <xsl:call-template name="localLCID">
  1630.         <xsl:with-param name="LCID" select="$LCID"/>
  1631.       </xsl:call-template>
  1632.     </xsl:variable>
  1633.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorShortCap"/>
  1634.   </xsl:template>
  1635.  
  1636.   
  1637.   <xsl:template name="templ_str_TranslatorShortUnCap" >
  1638.     <xsl:param name="LCID" />
  1639.     <xsl:variable name="_LCID">
  1640.       <xsl:call-template name="localLCID">
  1641.         <xsl:with-param name="LCID" select="$LCID"/>
  1642.       </xsl:call-template>
  1643.     </xsl:variable>
  1644.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorShortUnCap"/>
  1645.   </xsl:template>
  1646.  
  1647.   
  1648.   <xsl:template name="templ_str_TranslatorsShortCap" >
  1649.     <xsl:param name="LCID" />
  1650.     <xsl:variable name="_LCID">
  1651.       <xsl:call-template name="localLCID">
  1652.         <xsl:with-param name="LCID" select="$LCID"/>
  1653.       </xsl:call-template>
  1654.     </xsl:variable>
  1655.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorsShortCap"/>
  1656.   </xsl:template>
  1657.  
  1658.   
  1659.   <xsl:template name="templ_str_TranslatorsShortUnCap" >
  1660.     <xsl:param name="LCID" />
  1661.     <xsl:variable name="_LCID">
  1662.       <xsl:call-template name="localLCID">
  1663.         <xsl:with-param name="LCID" select="$LCID"/>
  1664.       </xsl:call-template>
  1665.     </xsl:variable>
  1666.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorsShortUnCap"/>
  1667.   </xsl:template>
  1668.  
  1669.   
  1670.   <xsl:template name="templ_str_ComposerCap" >
  1671.     <xsl:param name="LCID" />
  1672.     <xsl:variable name="_LCID">
  1673.       <xsl:call-template name="localLCID">
  1674.         <xsl:with-param name="LCID" select="$LCID"/>
  1675.       </xsl:call-template>
  1676.     </xsl:variable>
  1677.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ComposerCap"/>
  1678.   </xsl:template>
  1679.  
  1680.   
  1681.   <xsl:template name="templ_str_ComposersCap" >
  1682.     <xsl:param name="LCID" />
  1683.     <xsl:variable name="_LCID">
  1684.       <xsl:call-template name="localLCID">
  1685.         <xsl:with-param name="LCID" select="$LCID"/>
  1686.       </xsl:call-template>
  1687.     </xsl:variable>
  1688.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ComposersCap"/>
  1689.   </xsl:template>
  1690.  
  1691.   
  1692.   <xsl:template name="templ_str_ComposerShortCap" >
  1693.     <xsl:param name="LCID" />
  1694.     <xsl:variable name="_LCID">
  1695.       <xsl:call-template name="localLCID">
  1696.         <xsl:with-param name="LCID" select="$LCID"/>
  1697.       </xsl:call-template>
  1698.     </xsl:variable>
  1699.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ComposerShortCap"/>
  1700.   </xsl:template>
  1701.  
  1702.   
  1703.   <xsl:template name="templ_str_ComposersShortCap" >
  1704.     <xsl:param name="LCID" />
  1705.     <xsl:variable name="_LCID">
  1706.       <xsl:call-template name="localLCID">
  1707.         <xsl:with-param name="LCID" select="$LCID"/>
  1708.       </xsl:call-template>
  1709.     </xsl:variable>
  1710.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ComposersShortCap"/>
  1711.   </xsl:template>
  1712.  
  1713.   
  1714.   <xsl:template name="templ_str_ComposerShortUnCapIso" >
  1715.     <xsl:param name="LCID" />
  1716.     <xsl:variable name="_LCID">
  1717.       <xsl:call-template name="localLCID">
  1718.         <xsl:with-param name="LCID" select="$LCID"/>
  1719.       </xsl:call-template>
  1720.     </xsl:variable>
  1721.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ComposerShortUnCapIso"/>
  1722.   </xsl:template>
  1723.  
  1724.   
  1725.   <xsl:template name="templ_str_CompiledByCap" >
  1726.     <xsl:param name="LCID" />
  1727.     <xsl:variable name="_LCID">
  1728.       <xsl:call-template name="localLCID">
  1729.         <xsl:with-param name="LCID" select="$LCID"/>
  1730.       </xsl:call-template>
  1731.     </xsl:variable>
  1732.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompiledByCap"/>
  1733.   </xsl:template>
  1734.  
  1735.   
  1736.   <xsl:template name="templ_str_CompiledByUnCap" >
  1737.     <xsl:param name="LCID" />
  1738.     <xsl:variable name="_LCID">
  1739.       <xsl:call-template name="localLCID">
  1740.         <xsl:with-param name="LCID" select="$LCID"/>
  1741.       </xsl:call-template>
  1742.     </xsl:variable>
  1743.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompiledByUnCap"/>
  1744.   </xsl:template>
  1745.  
  1746.   
  1747.   <xsl:template name="templ_str_CompilerCap" >
  1748.     <xsl:param name="LCID" />
  1749.     <xsl:variable name="_LCID">
  1750.       <xsl:call-template name="localLCID">
  1751.         <xsl:with-param name="LCID" select="$LCID"/>
  1752.       </xsl:call-template>
  1753.     </xsl:variable>
  1754.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilerCap"/>
  1755.   </xsl:template>
  1756.  
  1757.   
  1758.   <xsl:template name="templ_str_CompilersCap" >
  1759.     <xsl:param name="LCID" />
  1760.     <xsl:variable name="_LCID">
  1761.       <xsl:call-template name="localLCID">
  1762.         <xsl:with-param name="LCID" select="$LCID"/>
  1763.       </xsl:call-template>
  1764.     </xsl:variable>
  1765.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilersCap"/>
  1766.   </xsl:template>
  1767.  
  1768.   
  1769.   <xsl:template name="templ_str_CompilerShortCap" >
  1770.     <xsl:param name="LCID" />
  1771.     <xsl:variable name="_LCID">
  1772.       <xsl:call-template name="localLCID">
  1773.         <xsl:with-param name="LCID" select="$LCID"/>
  1774.       </xsl:call-template>
  1775.     </xsl:variable>
  1776.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilerShortCap"/>
  1777.   </xsl:template>
  1778.  
  1779.   
  1780.   <xsl:template name="templ_str_CompilerShortUnCap" >
  1781.     <xsl:param name="LCID" />
  1782.     <xsl:variable name="_LCID">
  1783.       <xsl:call-template name="localLCID">
  1784.         <xsl:with-param name="LCID" select="$LCID"/>
  1785.       </xsl:call-template>
  1786.     </xsl:variable>
  1787.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilerShortUnCap"/>
  1788.   </xsl:template>
  1789.  
  1790.   
  1791.   <xsl:template name="templ_str_CompilersShortCap" >
  1792.     <xsl:param name="LCID" />
  1793.     <xsl:variable name="_LCID">
  1794.       <xsl:call-template name="localLCID">
  1795.         <xsl:with-param name="LCID" select="$LCID"/>
  1796.       </xsl:call-template>
  1797.     </xsl:variable>
  1798.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilersShortCap"/>
  1799.   </xsl:template>
  1800.  
  1801.   
  1802.   <xsl:template name="templ_str_CompilersShortUnCap" >
  1803.     <xsl:param name="LCID" />
  1804.     <xsl:variable name="_LCID">
  1805.       <xsl:call-template name="localLCID">
  1806.         <xsl:with-param name="LCID" select="$LCID"/>
  1807.       </xsl:call-template>
  1808.     </xsl:variable>
  1809.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilersShortUnCap"/>
  1810.   </xsl:template>
  1811.  
  1812.   
  1813.   <xsl:template name="templ_str_CompilerShortUnCapIso" >
  1814.     <xsl:param name="LCID" />
  1815.     <xsl:variable name="_LCID">
  1816.       <xsl:call-template name="localLCID">
  1817.         <xsl:with-param name="LCID" select="$LCID"/>
  1818.       </xsl:call-template>
  1819.     </xsl:variable>
  1820.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilerShortUnCapIso"/>
  1821.   </xsl:template>
  1822.  
  1823.  
  1824.   
  1825.  
  1826.   
  1827.   <xsl:template name="templ_prop_Culture" >
  1828.     <xsl:param name="LCID" />
  1829.     <xsl:variable name="_LCID">
  1830.       <xsl:call-template name="localLCID">
  1831.         <xsl:with-param name="LCID" select="$LCID"/>
  1832.       </xsl:call-template>
  1833.     </xsl:variable>
  1834.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/@Culture"/>
  1835.   </xsl:template>
  1836.  
  1837.   
  1838.   <xsl:template name="templ_prop_Direction" >
  1839.     <xsl:param name="LCID" />
  1840.     <xsl:variable name="_LCID">
  1841.       <xsl:call-template name="localLCID">
  1842.         <xsl:with-param name="LCID" select="$LCID"/>
  1843.       </xsl:call-template>
  1844.     </xsl:variable>
  1845.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Properties/b:Direction"/>
  1846.   </xsl:template>
  1847.  
  1848.  
  1849.   
  1850.  
  1851.   
  1852.   <xsl:template name="templ_prop_EndChars" >
  1853.     <xsl:param name="LCID" />
  1854.     <xsl:variable name="_LCID">
  1855.       <xsl:call-template name="localLCID">
  1856.         <xsl:with-param name="LCID" select="$LCID"/>
  1857.       </xsl:call-template>
  1858.     </xsl:variable>
  1859.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:EndChars"/>
  1860.   </xsl:template>
  1861.  
  1862.   
  1863.   <xsl:template name="templ_prop_NormalizeSpace" >
  1864.     <xsl:param name="LCID" />
  1865.     <xsl:variable name="_LCID">
  1866.       <xsl:call-template name="localLCID">
  1867.         <xsl:with-param name="LCID" select="$LCID"/>
  1868.       </xsl:call-template>
  1869.     </xsl:variable>
  1870.     <xsl:text>no</xsl:text>
  1871.     
  1872.   </xsl:template>
  1873.  
  1874.   
  1875.   <xsl:template name="templ_prop_Space" >
  1876.     <xsl:param name="LCID" />
  1877.     <xsl:variable name="_LCID">
  1878.       <xsl:call-template name="localLCID">
  1879.         <xsl:with-param name="LCID" select="$LCID"/>
  1880.       </xsl:call-template>
  1881.     </xsl:variable>
  1882.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:Space"/>
  1883.   </xsl:template>
  1884.  
  1885.   
  1886.   <xsl:template name="templ_prop_NonBreakingSpace" >
  1887.     <xsl:param name="LCID" />
  1888.     <xsl:variable name="_LCID">
  1889.       <xsl:call-template name="localLCID">
  1890.         <xsl:with-param name="LCID" select="$LCID"/>
  1891.       </xsl:call-template>
  1892.     </xsl:variable>
  1893.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:NonBreakingSpace"/>
  1894.   </xsl:template>
  1895.  
  1896.   
  1897.   <xsl:template name="templ_prop_ListSeparator" >
  1898.     <xsl:param name="LCID" />
  1899.     <xsl:variable name="_LCID">
  1900.       <xsl:call-template name="localLCID">
  1901.         <xsl:with-param name="LCID" select="$LCID"/>
  1902.       </xsl:call-template>
  1903.     </xsl:variable>
  1904.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:ListSeparator"/>
  1905.   </xsl:template>
  1906.  
  1907.   
  1908.   <xsl:template name="templ_prop_Dot" >
  1909.     <xsl:param name="LCID" />
  1910.     <xsl:variable name="_LCID">
  1911.       <xsl:call-template name="localLCID">
  1912.         <xsl:with-param name="LCID" select="$LCID"/>
  1913.       </xsl:call-template>
  1914.     </xsl:variable>
  1915.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:Dot"/>
  1916.   </xsl:template>
  1917.  
  1918.   
  1919.   <xsl:template name="templ_prop_DotInitial" >
  1920.     <xsl:param name="LCID" />
  1921.     <xsl:variable name="_LCID">
  1922.       <xsl:call-template name="localLCID">
  1923.         <xsl:with-param name="LCID" select="$LCID"/>
  1924.       </xsl:call-template>
  1925.     </xsl:variable>
  1926.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:DotInitial"/>
  1927.   </xsl:template>
  1928.  
  1929.   
  1930.   <xsl:template name="templ_prop_GroupSeparator" >
  1931.     <xsl:param name="LCID" />
  1932.     <xsl:variable name="_LCID">
  1933.       <xsl:call-template name="localLCID">
  1934.         <xsl:with-param name="LCID" select="$LCID"/>
  1935.       </xsl:call-template>
  1936.     </xsl:variable>
  1937.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:GroupSeparator"/>
  1938.   </xsl:template>
  1939.  
  1940.   
  1941.   <xsl:template name="templ_prop_EnumSeparator" >
  1942.     <xsl:param name="LCID" />
  1943.     <xsl:variable name="_LCID">
  1944.       <xsl:call-template name="localLCID">
  1945.         <xsl:with-param name="LCID" select="$LCID"/>
  1946.       </xsl:call-template>
  1947.     </xsl:variable>
  1948.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:EnumSeparator"/>
  1949.   </xsl:template>
  1950.  
  1951.   
  1952.   <xsl:template name="templ_prop_Equal" >
  1953.     <xsl:param name="LCID" />
  1954.     <xsl:variable name="_LCID">
  1955.       <xsl:call-template name="localLCID">
  1956.         <xsl:with-param name="LCID" select="$LCID"/>
  1957.       </xsl:call-template>
  1958.     </xsl:variable>
  1959.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:Equal"/>
  1960.   </xsl:template>
  1961.  
  1962.   
  1963.   <xsl:template name="templ_prop_Enum" >
  1964.     <xsl:param name="LCID" />
  1965.     <xsl:variable name="_LCID">
  1966.       <xsl:call-template name="localLCID">
  1967.         <xsl:with-param name="LCID" select="$LCID"/>
  1968.       </xsl:call-template>
  1969.     </xsl:variable>
  1970.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:Enum"/>
  1971.   </xsl:template>
  1972.  
  1973.   
  1974.   <xsl:template name="templ_prop_OpenQuote" >
  1975.     <xsl:param name="LCID" />
  1976.     <xsl:variable name="_LCID">
  1977.       <xsl:call-template name="localLCID">
  1978.         <xsl:with-param name="LCID" select="$LCID"/>
  1979.       </xsl:call-template>
  1980.     </xsl:variable>
  1981.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:OpenQuote"/>
  1982.   </xsl:template>
  1983.  
  1984.   
  1985.   <xsl:template name="templ_prop_CloseQuote" >
  1986.     <xsl:param name="LCID" />
  1987.     <xsl:variable name="_LCID">
  1988.       <xsl:call-template name="localLCID">
  1989.         <xsl:with-param name="LCID" select="$LCID"/>
  1990.       </xsl:call-template>
  1991.     </xsl:variable>
  1992.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:CloseQuote"/>
  1993.   </xsl:template>
  1994.  
  1995.   
  1996.   <xsl:template name="templ_prop_OpenBracket" >
  1997.     <xsl:param name="LCID" />
  1998.     <xsl:variable name="_LCID">
  1999.       <xsl:call-template name="localLCID">
  2000.         <xsl:with-param name="LCID" select="$LCID"/>
  2001.       </xsl:call-template>
  2002.     </xsl:variable>
  2003.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:OpenBracket"/>
  2004.   </xsl:template>
  2005.  
  2006.   
  2007.   <xsl:template name="templ_prop_CloseBracket" >
  2008.     <xsl:param name="LCID" />
  2009.     <xsl:variable name="_LCID">
  2010.       <xsl:call-template name="localLCID">
  2011.         <xsl:with-param name="LCID" select="$LCID"/>
  2012.       </xsl:call-template>
  2013.     </xsl:variable>
  2014.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:CloseBracket"/>
  2015.   </xsl:template>
  2016.  
  2017.   
  2018.   <xsl:template name="templ_prop_FromToDash" >
  2019.     <xsl:param name="LCID" />
  2020.     <xsl:variable name="_LCID">
  2021.       <xsl:call-template name="localLCID">
  2022.         <xsl:with-param name="LCID" select="$LCID"/>
  2023.       </xsl:call-template>
  2024.     </xsl:variable>
  2025.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:FromToDash"/>
  2026.   </xsl:template>
  2027.  
  2028.   
  2029.   <xsl:template name="templ_prop_OpenLink" >
  2030.     <xsl:param name="LCID" />
  2031.     <xsl:variable name="_LCID">
  2032.       <xsl:call-template name="localLCID">
  2033.         <xsl:with-param name="LCID" select="$LCID"/>
  2034.       </xsl:call-template>
  2035.     </xsl:variable>
  2036.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:OpenLink"/>
  2037.   </xsl:template>
  2038.  
  2039.   
  2040.   <xsl:template name="templ_prop_CloseLink" >
  2041.     <xsl:param name="LCID" />
  2042.     <xsl:variable name="_LCID">
  2043.       <xsl:call-template name="localLCID">
  2044.         <xsl:with-param name="LCID" select="$LCID"/>
  2045.       </xsl:call-template>
  2046.     </xsl:variable>
  2047.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:CloseLink"/>
  2048.   </xsl:template>
  2049.  
  2050.   
  2051.   <xsl:template name="templ_prop_AuthorsSeparator" >
  2052.     <xsl:param name="LCID" />
  2053.     <xsl:variable name="_LCID">
  2054.       <xsl:call-template name="localLCID">
  2055.         <xsl:with-param name="LCID" select="$LCID"/>
  2056.       </xsl:call-template>
  2057.     </xsl:variable>
  2058.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:AuthorsSeparator"/>
  2059.   </xsl:template>
  2060.  
  2061.   
  2062.   <xsl:template name="templ_prop_NoAndBeforeLastAuthor" >
  2063.     <xsl:param name="LCID" />
  2064.     <xsl:variable name="_LCID">
  2065.       <xsl:call-template name="localLCID">
  2066.         <xsl:with-param name="LCID" select="$LCID"/>
  2067.       </xsl:call-template>
  2068.     </xsl:variable>
  2069.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:NoAndBeforeLastAuthor"/>
  2070.   </xsl:template>
  2071.  
  2072.   
  2073.   <xsl:template name="templ_prop_SimpleAuthor_F" >
  2074.     <xsl:param name="LCID" />
  2075.     <xsl:variable name="_LCID">
  2076.       <xsl:call-template name="localLCID">
  2077.         <xsl:with-param name="LCID" select="$LCID"/>
  2078.       </xsl:call-template>
  2079.     </xsl:variable>
  2080.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:SimpleAuthor/b:F"/>
  2081.   </xsl:template>
  2082.  
  2083.   
  2084.   <xsl:template name="templ_prop_SimpleAuthor_M" >
  2085.     <xsl:param name="LCID" />
  2086.     <xsl:variable name="_LCID">
  2087.       <xsl:call-template name="localLCID">
  2088.         <xsl:with-param name="LCID" select="$LCID"/>
  2089.       </xsl:call-template>
  2090.     </xsl:variable>
  2091.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:SimpleAuthor/b:M"/>
  2092.   </xsl:template>
  2093.  
  2094.   
  2095.   <xsl:template name="templ_prop_SimpleAuthor_L" >
  2096.     <xsl:param name="LCID" />
  2097.     <xsl:variable name="_LCID">
  2098.       <xsl:call-template name="localLCID">
  2099.         <xsl:with-param name="LCID" select="$LCID"/>
  2100.       </xsl:call-template>
  2101.     </xsl:variable>
  2102.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:SimpleAuthor/b:L"/>
  2103.   </xsl:template>
  2104.  
  2105.   
  2106.   <xsl:template name="templ_prop_SimpleDate_D" >
  2107.     <xsl:param name="LCID" />
  2108.     <xsl:variable name="_LCID">
  2109.       <xsl:call-template name="localLCID">
  2110.         <xsl:with-param name="LCID" select="$LCID"/>
  2111.       </xsl:call-template>
  2112.     </xsl:variable>
  2113.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:SimpleDate/b:D"/>
  2114.   </xsl:template>
  2115.  
  2116.   
  2117.   <xsl:template name="templ_prop_SimpleDate_M" >
  2118.     <xsl:param name="LCID" />
  2119.     <xsl:variable name="_LCID">
  2120.       <xsl:call-template name="localLCID">
  2121.         <xsl:with-param name="LCID" select="$LCID"/>
  2122.       </xsl:call-template>
  2123.     </xsl:variable>
  2124.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:SimpleDate/b:M"/>
  2125.   </xsl:template>
  2126.  
  2127.   
  2128.   <xsl:template name="templ_prop_SimpleDate_Y" >
  2129.     <xsl:param name="LCID" />
  2130.     <xsl:variable name="_LCID">
  2131.       <xsl:call-template name="localLCID">
  2132.         <xsl:with-param name="LCID" select="$LCID"/>
  2133.       </xsl:call-template>
  2134.     </xsl:variable>
  2135.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:SimpleDate/b:Y"/>
  2136.   </xsl:template>
  2137.  
  2138.   
  2139.   <xsl:template name="templ_prop_MLA_SameAuthor" >
  2140.     <xsl:param name="LCID" />
  2141.     <xsl:variable name="_LCID">
  2142.       <xsl:call-template name="localLCID">
  2143.         <xsl:with-param name="LCID" select="$LCID"/>
  2144.       </xsl:call-template>
  2145.     </xsl:variable>
  2146.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:SameAuthor"/>
  2147.   </xsl:template>
  2148.  
  2149.   
  2150.   <xsl:template name="templ_prop_MLA_MainAuthor_FML" >
  2151.     <xsl:param name="LCID" />
  2152.     <xsl:variable name="_LCID">
  2153.       <xsl:call-template name="localLCID">
  2154.         <xsl:with-param name="LCID" select="$LCID"/>
  2155.       </xsl:call-template>
  2156.     </xsl:variable>
  2157.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:MainAuthor/b:FML"/>
  2158.   </xsl:template>
  2159.  
  2160.   
  2161.   <xsl:template name="templ_prop_MLA_MainAuthor_FM" >
  2162.     <xsl:param name="LCID" />
  2163.     <xsl:variable name="_LCID">
  2164.       <xsl:call-template name="localLCID">
  2165.         <xsl:with-param name="LCID" select="$LCID"/>
  2166.       </xsl:call-template>
  2167.     </xsl:variable>
  2168.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:MainAuthor/b:FM"/>
  2169.   </xsl:template>
  2170.  
  2171.   
  2172.   <xsl:template name="templ_prop_MLA_MainAuthor_ML" >
  2173.     <xsl:param name="LCID" />
  2174.     <xsl:variable name="_LCID">
  2175.       <xsl:call-template name="localLCID">
  2176.         <xsl:with-param name="LCID" select="$LCID"/>
  2177.       </xsl:call-template>
  2178.     </xsl:variable>
  2179.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:MainAuthor/b:ML"/>
  2180.   </xsl:template>
  2181.  
  2182.   
  2183.   <xsl:template name="templ_prop_MLA_MainAuthor_FL" >
  2184.     <xsl:param name="LCID" />
  2185.     <xsl:variable name="_LCID">
  2186.       <xsl:call-template name="localLCID">
  2187.         <xsl:with-param name="LCID" select="$LCID"/>
  2188.       </xsl:call-template>
  2189.     </xsl:variable>
  2190.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:MainAuthor/b:FL"/>
  2191.   </xsl:template>
  2192.  
  2193.   
  2194.   <xsl:template name="templ_prop_MLA_OtherAuthors_FML" >
  2195.     <xsl:param name="LCID" />
  2196.     <xsl:variable name="_LCID">
  2197.       <xsl:call-template name="localLCID">
  2198.         <xsl:with-param name="LCID" select="$LCID"/>
  2199.       </xsl:call-template>
  2200.     </xsl:variable>
  2201.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:OtherAuthors/b:FML"/>
  2202.   </xsl:template>
  2203.  
  2204.   
  2205.   <xsl:template name="templ_prop_MLA_OtherAuthors_FM" >
  2206.     <xsl:param name="LCID" />
  2207.     <xsl:variable name="_LCID">
  2208.       <xsl:call-template name="localLCID">
  2209.         <xsl:with-param name="LCID" select="$LCID"/>
  2210.       </xsl:call-template>
  2211.     </xsl:variable>
  2212.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:OtherAuthors/b:FM"/>
  2213.   </xsl:template>
  2214.  
  2215.   
  2216.   <xsl:template name="templ_prop_MLA_OtherAuthors_ML" >
  2217.     <xsl:param name="LCID" />
  2218.     <xsl:variable name="_LCID">
  2219.       <xsl:call-template name="localLCID">
  2220.         <xsl:with-param name="LCID" select="$LCID"/>
  2221.       </xsl:call-template>
  2222.     </xsl:variable>
  2223.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:OtherAuthors/b:ML"/>
  2224.   </xsl:template>
  2225.  
  2226.   
  2227.   <xsl:template name="templ_prop_MLA_OtherAuthors_FL" >
  2228.     <xsl:param name="LCID" />
  2229.     <xsl:variable name="_LCID">
  2230.       <xsl:call-template name="localLCID">
  2231.         <xsl:with-param name="LCID" select="$LCID"/>
  2232.       </xsl:call-template>
  2233.     </xsl:variable>
  2234.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:OtherAuthors/b:FL"/>
  2235.   </xsl:template>
  2236.  
  2237.   
  2238.   <xsl:template name="templ_prop_MLA_SecondaryAuthors_FML" >
  2239.     <xsl:param name="LCID" />
  2240.     <xsl:variable name="_LCID">
  2241.       <xsl:call-template name="localLCID">
  2242.         <xsl:with-param name="LCID" select="$LCID"/>
  2243.       </xsl:call-template>
  2244.     </xsl:variable>
  2245.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:SecondaryAuthors/b:FML"/>
  2246.   </xsl:template>
  2247.  
  2248.   
  2249.   <xsl:template name="templ_prop_MLA_SecondaryAuthors_FM" >
  2250.     <xsl:param name="LCID" />
  2251.     <xsl:variable name="_LCID">
  2252.       <xsl:call-template name="localLCID">
  2253.         <xsl:with-param name="LCID" select="$LCID"/>
  2254.       </xsl:call-template>
  2255.     </xsl:variable>
  2256.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:SecondaryAuthors/b:FM"/>
  2257.   </xsl:template>
  2258.  
  2259.   
  2260.   <xsl:template name="templ_prop_MLA_SecondaryAuthors_ML" >
  2261.     <xsl:param name="LCID" />
  2262.     <xsl:variable name="_LCID">
  2263.       <xsl:call-template name="localLCID">
  2264.         <xsl:with-param name="LCID" select="$LCID"/>
  2265.       </xsl:call-template>
  2266.     </xsl:variable>
  2267.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:SecondaryAuthors/b:ML"/>
  2268.   </xsl:template>
  2269.  
  2270.   
  2271.   <xsl:template name="templ_prop_MLA_SecondaryAuthors_FL" >
  2272.     <xsl:param name="LCID" />
  2273.     <xsl:variable name="_LCID">
  2274.       <xsl:call-template name="localLCID">
  2275.         <xsl:with-param name="LCID" select="$LCID"/>
  2276.       </xsl:call-template>
  2277.     </xsl:variable>
  2278.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:SecondaryAuthors/b:FL"/>
  2279.   </xsl:template>
  2280.  
  2281.   
  2282.   <xsl:template name="templ_prop_MLA_Date_DMY" >
  2283.     <xsl:param name="LCID" />
  2284.     <xsl:variable name="_LCID">
  2285.       <xsl:call-template name="localLCID">
  2286.         <xsl:with-param name="LCID" select="$LCID"/>
  2287.       </xsl:call-template>
  2288.     </xsl:variable>
  2289.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:Date/b:DMY"/>
  2290.   </xsl:template>
  2291.  
  2292.   
  2293.   <xsl:template name="templ_prop_MLA_Date_DM" >
  2294.     <xsl:param name="LCID" />
  2295.     <xsl:variable name="_LCID">
  2296.       <xsl:call-template name="localLCID">
  2297.         <xsl:with-param name="LCID" select="$LCID"/>
  2298.       </xsl:call-template>
  2299.     </xsl:variable>
  2300.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:Date/b:DM"/>
  2301.   </xsl:template>
  2302.  
  2303.   
  2304.   <xsl:template name="templ_prop_MLA_Date_MY" >
  2305.     <xsl:param name="LCID" />
  2306.     <xsl:variable name="_LCID">
  2307.       <xsl:call-template name="localLCID">
  2308.         <xsl:with-param name="LCID" select="$LCID"/>
  2309.       </xsl:call-template>
  2310.     </xsl:variable>
  2311.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:Date/b:MY"/>
  2312.   </xsl:template>
  2313.  
  2314.   
  2315.   <xsl:template name="templ_prop_MLA_Date_DY" >
  2316.     <xsl:param name="LCID" />
  2317.     <xsl:variable name="_LCID">
  2318.       <xsl:call-template name="localLCID">
  2319.         <xsl:with-param name="LCID" select="$LCID"/>
  2320.       </xsl:call-template>
  2321.     </xsl:variable>
  2322.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:Date/b:DY"/>
  2323.   </xsl:template>
  2324.  
  2325.   
  2326.   <xsl:template name="templ_prop_APA_MainAuthors_FML" >
  2327.     <xsl:param name="LCID" />
  2328.     <xsl:variable name="_LCID">
  2329.       <xsl:call-template name="localLCID">
  2330.         <xsl:with-param name="LCID" select="$LCID"/>
  2331.       </xsl:call-template>
  2332.     </xsl:variable>
  2333.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:MainAuthors/b:FML"/>
  2334.   </xsl:template>
  2335.  
  2336.   
  2337.   <xsl:template name="templ_prop_APA_MainAuthors_FM" >
  2338.     <xsl:param name="LCID" />
  2339.     <xsl:variable name="_LCID">
  2340.       <xsl:call-template name="localLCID">
  2341.         <xsl:with-param name="LCID" select="$LCID"/>
  2342.       </xsl:call-template>
  2343.     </xsl:variable>
  2344.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:MainAuthors/b:FM"/>
  2345.   </xsl:template>
  2346.  
  2347.   
  2348.   <xsl:template name="templ_prop_APA_MainAuthors_ML" >
  2349.     <xsl:param name="LCID" />
  2350.     <xsl:variable name="_LCID">
  2351.       <xsl:call-template name="localLCID">
  2352.         <xsl:with-param name="LCID" select="$LCID"/>
  2353.       </xsl:call-template>
  2354.     </xsl:variable>
  2355.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:MainAuthors/b:ML"/>
  2356.   </xsl:template>
  2357.  
  2358.   
  2359.   <xsl:template name="templ_prop_APA_MainAuthors_FL" >
  2360.     <xsl:param name="LCID" />
  2361.     <xsl:variable name="_LCID">
  2362.       <xsl:call-template name="localLCID">
  2363.         <xsl:with-param name="LCID" select="$LCID"/>
  2364.       </xsl:call-template>
  2365.     </xsl:variable>
  2366.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:MainAuthors/b:FL"/>
  2367.   </xsl:template>
  2368.  
  2369.   
  2370.   <xsl:template name="templ_prop_APA_SecondaryAuthors_FML" >
  2371.     <xsl:param name="LCID" />
  2372.     <xsl:variable name="_LCID">
  2373.       <xsl:call-template name="localLCID">
  2374.         <xsl:with-param name="LCID" select="$LCID"/>
  2375.       </xsl:call-template>
  2376.     </xsl:variable>
  2377.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryAuthors/b:FML"/>
  2378.   </xsl:template>
  2379.  
  2380.   
  2381.   <xsl:template name="templ_prop_APA_SecondaryAuthors_FM" >
  2382.     <xsl:param name="LCID" />
  2383.     <xsl:variable name="_LCID">
  2384.       <xsl:call-template name="localLCID">
  2385.         <xsl:with-param name="LCID" select="$LCID"/>
  2386.       </xsl:call-template>
  2387.     </xsl:variable>
  2388.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryAuthors/b:FM"/>
  2389.   </xsl:template>
  2390.  
  2391.   
  2392.   <xsl:template name="templ_prop_APA_SecondaryAuthors_ML" >
  2393.     <xsl:param name="LCID" />
  2394.     <xsl:variable name="_LCID">
  2395.       <xsl:call-template name="localLCID">
  2396.         <xsl:with-param name="LCID" select="$LCID"/>
  2397.       </xsl:call-template>
  2398.     </xsl:variable>
  2399.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryAuthors/b:ML"/>
  2400.   </xsl:template>
  2401.  
  2402.   
  2403.   <xsl:template name="templ_prop_APA_SecondaryAuthors_FL" >
  2404.     <xsl:param name="LCID" />
  2405.     <xsl:variable name="_LCID">
  2406.       <xsl:call-template name="localLCID">
  2407.         <xsl:with-param name="LCID" select="$LCID"/>
  2408.       </xsl:call-template>
  2409.     </xsl:variable>
  2410.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryAuthors/b:FL"/>
  2411.   </xsl:template>
  2412.  
  2413.   
  2414.   <xsl:template name="templ_prop_APA_BeforeLastAuthor" >
  2415.     <xsl:param name="LCID" />
  2416.     <xsl:variable name="_LCID">
  2417.       <xsl:call-template name="localLCID">
  2418.         <xsl:with-param name="LCID" select="$LCID"/>
  2419.       </xsl:call-template>
  2420.     </xsl:variable>
  2421.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:BeforeLastAuthor"/>
  2422.   </xsl:template>
  2423.  
  2424.   
  2425.   <xsl:template name="templ_prop_APA_GeneralOpen" >
  2426.     <xsl:param name="LCID" />
  2427.     <xsl:variable name="_LCID">
  2428.       <xsl:call-template name="localLCID">
  2429.         <xsl:with-param name="LCID" select="$LCID"/>
  2430.       </xsl:call-template>
  2431.     </xsl:variable>
  2432.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:GeneralOpen"/>
  2433.   </xsl:template>
  2434.  
  2435.   
  2436.   <xsl:template name="templ_prop_APA_GeneralClose" >
  2437.     <xsl:param name="LCID" />
  2438.     <xsl:variable name="_LCID">
  2439.       <xsl:call-template name="localLCID">
  2440.         <xsl:with-param name="LCID" select="$LCID"/>
  2441.       </xsl:call-template>
  2442.     </xsl:variable>
  2443.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:GeneralClose"/>
  2444.   </xsl:template>
  2445.  
  2446.   
  2447.   <xsl:template name="templ_prop_APA_SecondaryOpen" >
  2448.     <xsl:param name="LCID" />
  2449.     <xsl:variable name="_LCID">
  2450.       <xsl:call-template name="localLCID">
  2451.         <xsl:with-param name="LCID" select="$LCID"/>
  2452.       </xsl:call-template>
  2453.     </xsl:variable>
  2454.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryOpen"/>
  2455.   </xsl:template>
  2456.  
  2457.   
  2458.   <xsl:template name="templ_prop_APA_SecondaryClose" >
  2459.     <xsl:param name="LCID" />
  2460.     <xsl:variable name="_LCID">
  2461.       <xsl:call-template name="localLCID">
  2462.         <xsl:with-param name="LCID" select="$LCID"/>
  2463.       </xsl:call-template>
  2464.     </xsl:variable>
  2465.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryClose"/>
  2466.   </xsl:template>
  2467.  
  2468.   
  2469.   <xsl:template name="templ_prop_Hyphens" >
  2470.     <xsl:param name="LCID" />
  2471.     <xsl:variable name="_LCID">
  2472.       <xsl:call-template name="localLCID">
  2473.         <xsl:with-param name="LCID" select="$LCID"/>
  2474.       </xsl:call-template>
  2475.     </xsl:variable>
  2476.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:Hyphens"/>
  2477.   </xsl:template>
  2478.  
  2479.   
  2480.   <xsl:template name="templ_prop_APA_Date_DMY" >
  2481.     <xsl:param name="LCID" />
  2482.     <xsl:variable name="_LCID">
  2483.       <xsl:call-template name="localLCID">
  2484.         <xsl:with-param name="LCID" select="$LCID"/>
  2485.       </xsl:call-template>
  2486.     </xsl:variable>
  2487.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:Date/b:DMY"/>
  2488.   </xsl:template>
  2489.  
  2490.   
  2491.   <xsl:template name="templ_prop_APA_Date_DM" >
  2492.     <xsl:param name="LCID" />
  2493.     <xsl:variable name="_LCID">
  2494.       <xsl:call-template name="localLCID">
  2495.         <xsl:with-param name="LCID" select="$LCID"/>
  2496.       </xsl:call-template>
  2497.     </xsl:variable>
  2498.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:Date/b:DM"/>
  2499.   </xsl:template>
  2500.  
  2501.   
  2502.   <xsl:template name="templ_prop_APA_Date_MY" >
  2503.     <xsl:param name="LCID" />
  2504.     <xsl:variable name="_LCID">
  2505.       <xsl:call-template name="localLCID">
  2506.         <xsl:with-param name="LCID" select="$LCID"/>
  2507.       </xsl:call-template>
  2508.     </xsl:variable>
  2509.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:Date/b:MY"/>
  2510.   </xsl:template>
  2511.  
  2512.   
  2513.   <xsl:template name="templ_prop_APA_Date_DY" >
  2514.     <xsl:param name="LCID" />
  2515.     <xsl:variable name="_LCID">
  2516.       <xsl:call-template name="localLCID">
  2517.         <xsl:with-param name="LCID" select="$LCID"/>
  2518.       </xsl:call-template>
  2519.     </xsl:variable>
  2520.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:Date/b:DY"/>
  2521.   </xsl:template>
  2522.  
  2523.   
  2524.   <xsl:template name="templ_prop_APA_DateAccessed_DMY" >
  2525.     <xsl:param name="LCID" />
  2526.     <xsl:variable name="_LCID">
  2527.       <xsl:call-template name="localLCID">
  2528.         <xsl:with-param name="LCID" select="$LCID"/>
  2529.       </xsl:call-template>
  2530.     </xsl:variable>
  2531.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateAccessed/b:DMY"/>
  2532.   </xsl:template>
  2533.  
  2534.   
  2535.   <xsl:template name="templ_prop_APA_DateAccessed_DM" >
  2536.     <xsl:param name="LCID" />
  2537.     <xsl:variable name="_LCID">
  2538.       <xsl:call-template name="localLCID">
  2539.         <xsl:with-param name="LCID" select="$LCID"/>
  2540.       </xsl:call-template>
  2541.     </xsl:variable>
  2542.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateAccessed/b:DM"/>
  2543.   </xsl:template>
  2544.  
  2545.   
  2546.   <xsl:template name="templ_prop_APA_DateAccessed_MY" >
  2547.     <xsl:param name="LCID" />
  2548.     <xsl:variable name="_LCID">
  2549.       <xsl:call-template name="localLCID">
  2550.         <xsl:with-param name="LCID" select="$LCID"/>
  2551.       </xsl:call-template>
  2552.     </xsl:variable>
  2553.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateAccessed/b:MY"/>
  2554.   </xsl:template>
  2555.  
  2556.   
  2557.   <xsl:template name="templ_prop_APA_DateAccessed_DY" >
  2558.     <xsl:param name="LCID" />
  2559.     <xsl:variable name="_LCID">
  2560.       <xsl:call-template name="localLCID">
  2561.         <xsl:with-param name="LCID" select="$LCID"/>
  2562.       </xsl:call-template>
  2563.     </xsl:variable>
  2564.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateAccessed/b:DY"/>
  2565.   </xsl:template>
  2566.  
  2567.   
  2568.   <xsl:template name="templ_prop_APA_DateCourt_DMY" >
  2569.     <xsl:param name="LCID" />
  2570.     <xsl:variable name="_LCID">
  2571.       <xsl:call-template name="localLCID">
  2572.         <xsl:with-param name="LCID" select="$LCID"/>
  2573.       </xsl:call-template>
  2574.     </xsl:variable>
  2575.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateCourt/b:DMY"/>
  2576.   </xsl:template>
  2577.  
  2578.   
  2579.   <xsl:template name="templ_prop_APA_DateCourt_DM" >
  2580.     <xsl:param name="LCID" />
  2581.     <xsl:variable name="_LCID">
  2582.       <xsl:call-template name="localLCID">
  2583.         <xsl:with-param name="LCID" select="$LCID"/>
  2584.       </xsl:call-template>
  2585.     </xsl:variable>
  2586.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateCourt/b:DM"/>
  2587.   </xsl:template>
  2588.  
  2589.   
  2590.   <xsl:template name="templ_prop_APA_DateCourt_MY" >
  2591.     <xsl:param name="LCID" />
  2592.     <xsl:variable name="_LCID">
  2593.       <xsl:call-template name="localLCID">
  2594.         <xsl:with-param name="LCID" select="$LCID"/>
  2595.       </xsl:call-template>
  2596.     </xsl:variable>
  2597.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateCourt/b:MY"/>
  2598.   </xsl:template>
  2599.  
  2600.   
  2601.   <xsl:template name="templ_prop_APA_DateCourt_DY" >
  2602.     <xsl:param name="LCID" />
  2603.     <xsl:variable name="_LCID">
  2604.       <xsl:call-template name="localLCID">
  2605.         <xsl:with-param name="LCID" select="$LCID"/>
  2606.       </xsl:call-template>
  2607.     </xsl:variable>
  2608.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateCourt/b:DY"/>
  2609.   </xsl:template>
  2610.  
  2611.   
  2612.   <xsl:template name="templ_prop_Chicago_SameAuthor" >
  2613.     <xsl:param name="LCID" />
  2614.     <xsl:variable name="_LCID">
  2615.       <xsl:call-template name="localLCID">
  2616.         <xsl:with-param name="LCID" select="$LCID"/>
  2617.       </xsl:call-template>
  2618.     </xsl:variable>
  2619.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:SameAuthor"/>
  2620.   </xsl:template>
  2621.  
  2622.   
  2623.   <xsl:template name="templ_prop_Chicago_MainAuthor_FML" >
  2624.     <xsl:param name="LCID" />
  2625.     <xsl:variable name="_LCID">
  2626.       <xsl:call-template name="localLCID">
  2627.         <xsl:with-param name="LCID" select="$LCID"/>
  2628.       </xsl:call-template>
  2629.     </xsl:variable>
  2630.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:MainAuthor/b:FML"/>
  2631.   </xsl:template>
  2632.  
  2633.   
  2634.   <xsl:template name="templ_prop_Chicago_MainAuthor_FM" >
  2635.     <xsl:param name="LCID" />
  2636.     <xsl:variable name="_LCID">
  2637.       <xsl:call-template name="localLCID">
  2638.         <xsl:with-param name="LCID" select="$LCID"/>
  2639.       </xsl:call-template>
  2640.     </xsl:variable>
  2641.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:MainAuthor/b:FM"/>
  2642.   </xsl:template>
  2643.  
  2644.   
  2645.   <xsl:template name="templ_prop_Chicago_MainAuthor_ML" >
  2646.     <xsl:param name="LCID" />
  2647.     <xsl:variable name="_LCID">
  2648.       <xsl:call-template name="localLCID">
  2649.         <xsl:with-param name="LCID" select="$LCID"/>
  2650.       </xsl:call-template>
  2651.     </xsl:variable>
  2652.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:MainAuthor/b:ML"/>
  2653.   </xsl:template>
  2654.  
  2655.   
  2656.   <xsl:template name="templ_prop_Chicago_MainAuthor_FL" >
  2657.     <xsl:param name="LCID" />
  2658.     <xsl:variable name="_LCID">
  2659.       <xsl:call-template name="localLCID">
  2660.         <xsl:with-param name="LCID" select="$LCID"/>
  2661.       </xsl:call-template>
  2662.     </xsl:variable>
  2663.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:MainAuthor/b:FL"/>
  2664.   </xsl:template>
  2665.  
  2666.   
  2667.   <xsl:template name="templ_prop_Chicago_OtherAuthors_FML" >
  2668.     <xsl:param name="LCID" />
  2669.     <xsl:variable name="_LCID">
  2670.       <xsl:call-template name="localLCID">
  2671.         <xsl:with-param name="LCID" select="$LCID"/>
  2672.       </xsl:call-template>
  2673.     </xsl:variable>
  2674.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:OtherAuthors/b:FML"/>
  2675.   </xsl:template>
  2676.  
  2677.   
  2678.   <xsl:template name="templ_prop_Chicago_OtherAuthors_FM" >
  2679.     <xsl:param name="LCID" />
  2680.     <xsl:variable name="_LCID">
  2681.       <xsl:call-template name="localLCID">
  2682.         <xsl:with-param name="LCID" select="$LCID"/>
  2683.       </xsl:call-template>
  2684.     </xsl:variable>
  2685.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:OtherAuthors/b:FM"/>
  2686.   </xsl:template>
  2687.  
  2688.   
  2689.   <xsl:template name="templ_prop_Chicago_OtherAuthors_ML" >
  2690.     <xsl:param name="LCID" />
  2691.     <xsl:variable name="_LCID">
  2692.       <xsl:call-template name="localLCID">
  2693.         <xsl:with-param name="LCID" select="$LCID"/>
  2694.       </xsl:call-template>
  2695.     </xsl:variable>
  2696.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:OtherAuthors/b:ML"/>
  2697.   </xsl:template>
  2698.  
  2699.   
  2700.   <xsl:template name="templ_prop_Chicago_OtherAuthors_FL" >
  2701.     <xsl:param name="LCID" />
  2702.     <xsl:variable name="_LCID">
  2703.       <xsl:call-template name="localLCID">
  2704.         <xsl:with-param name="LCID" select="$LCID"/>
  2705.       </xsl:call-template>
  2706.     </xsl:variable>
  2707.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:OtherAuthors/b:FL"/>
  2708.   </xsl:template>
  2709.  
  2710.   
  2711.   <xsl:template name="templ_prop_Chicago_SecondaryAuthors_FML" >
  2712.     <xsl:param name="LCID" />
  2713.     <xsl:variable name="_LCID">
  2714.       <xsl:call-template name="localLCID">
  2715.         <xsl:with-param name="LCID" select="$LCID"/>
  2716.       </xsl:call-template>
  2717.     </xsl:variable>
  2718.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:SecondaryAuthors/b:FML"/>
  2719.   </xsl:template>
  2720.  
  2721.   
  2722.   <xsl:template name="templ_prop_Chicago_SecondaryAuthors_FM" >
  2723.     <xsl:param name="LCID" />
  2724.     <xsl:variable name="_LCID">
  2725.       <xsl:call-template name="localLCID">
  2726.         <xsl:with-param name="LCID" select="$LCID"/>
  2727.       </xsl:call-template>
  2728.     </xsl:variable>
  2729.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:SecondaryAuthors/b:FM"/>
  2730.   </xsl:template>
  2731.  
  2732.   
  2733.   <xsl:template name="templ_prop_Chicago_SecondaryAuthors_ML" >
  2734.     <xsl:param name="LCID" />
  2735.     <xsl:variable name="_LCID">
  2736.       <xsl:call-template name="localLCID">
  2737.         <xsl:with-param name="LCID" select="$LCID"/>
  2738.       </xsl:call-template>
  2739.     </xsl:variable>
  2740.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:SecondaryAuthors/b:ML"/>
  2741.   </xsl:template>
  2742.  
  2743.   
  2744.   <xsl:template name="templ_prop_Chicago_SecondaryAuthors_FL" >
  2745.     <xsl:param name="LCID" />
  2746.     <xsl:variable name="_LCID">
  2747.       <xsl:call-template name="localLCID">
  2748.         <xsl:with-param name="LCID" select="$LCID"/>
  2749.       </xsl:call-template>
  2750.     </xsl:variable>
  2751.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:SecondaryAuthors/b:FL"/>
  2752.   </xsl:template>
  2753.  
  2754.   
  2755.   <xsl:template name="templ_prop_Chicago_Date_DMY" >
  2756.     <xsl:param name="LCID" />
  2757.     <xsl:variable name="_LCID">
  2758.       <xsl:call-template name="localLCID">
  2759.         <xsl:with-param name="LCID" select="$LCID"/>
  2760.       </xsl:call-template>
  2761.     </xsl:variable>
  2762.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:Date/b:DMY"/>
  2763.   </xsl:template>
  2764.  
  2765.   
  2766.   <xsl:template name="templ_prop_Chicago_Date_DM" >
  2767.     <xsl:param name="LCID" />
  2768.     <xsl:variable name="_LCID">
  2769.       <xsl:call-template name="localLCID">
  2770.         <xsl:with-param name="LCID" select="$LCID"/>
  2771.       </xsl:call-template>
  2772.     </xsl:variable>
  2773.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:Date/b:DM"/>
  2774.   </xsl:template>
  2775.  
  2776.   
  2777.   <xsl:template name="templ_prop_Chicago_Date_MY" >
  2778.     <xsl:param name="LCID" />
  2779.     <xsl:variable name="_LCID">
  2780.       <xsl:call-template name="localLCID">
  2781.         <xsl:with-param name="LCID" select="$LCID"/>
  2782.       </xsl:call-template>
  2783.     </xsl:variable>
  2784.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:Date/b:MY"/>
  2785.   </xsl:template>
  2786.  
  2787.   
  2788.   <xsl:template name="templ_prop_Chicago_Date_DY" >
  2789.     <xsl:param name="LCID" />
  2790.     <xsl:variable name="_LCID">
  2791.       <xsl:call-template name="localLCID">
  2792.         <xsl:with-param name="LCID" select="$LCID"/>
  2793.       </xsl:call-template>
  2794.     </xsl:variable>
  2795.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:Date/b:DY"/>
  2796.   </xsl:template>
  2797.  
  2798.   
  2799.   <xsl:template name="templ_prop_ISO690_MainAuthors_FML" >
  2800.     <xsl:param name="LCID" />
  2801.     <xsl:variable name="_LCID">
  2802.       <xsl:call-template name="localLCID">
  2803.         <xsl:with-param name="LCID" select="$LCID"/>
  2804.       </xsl:call-template>
  2805.     </xsl:variable>
  2806.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:MainAuthors/b:FML"/>
  2807.   </xsl:template>
  2808.  
  2809.   
  2810.   <xsl:template name="templ_prop_ISO690_MainAuthors_FM" >
  2811.     <xsl:param name="LCID" />
  2812.     <xsl:variable name="_LCID">
  2813.       <xsl:call-template name="localLCID">
  2814.         <xsl:with-param name="LCID" select="$LCID"/>
  2815.       </xsl:call-template>
  2816.     </xsl:variable>
  2817.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:MainAuthors/b:FM"/>
  2818.   </xsl:template>
  2819.  
  2820.   
  2821.   <xsl:template name="templ_prop_ISO690_MainAuthors_ML" >
  2822.     <xsl:param name="LCID" />
  2823.     <xsl:variable name="_LCID">
  2824.       <xsl:call-template name="localLCID">
  2825.         <xsl:with-param name="LCID" select="$LCID"/>
  2826.       </xsl:call-template>
  2827.     </xsl:variable>
  2828.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:MainAuthors/b:ML"/>
  2829.   </xsl:template>
  2830.  
  2831.   
  2832.   <xsl:template name="templ_prop_ISO690_MainAuthors_FL" >
  2833.     <xsl:param name="LCID" />
  2834.     <xsl:variable name="_LCID">
  2835.       <xsl:call-template name="localLCID">
  2836.         <xsl:with-param name="LCID" select="$LCID"/>
  2837.       </xsl:call-template>
  2838.     </xsl:variable>
  2839.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:MainAuthors/b:FL"/>
  2840.   </xsl:template>
  2841.  
  2842.   
  2843.   <xsl:template name="templ_prop_ISO690_SecondaryAuthors_FML" >
  2844.     <xsl:param name="LCID" />
  2845.     <xsl:variable name="_LCID">
  2846.       <xsl:call-template name="localLCID">
  2847.         <xsl:with-param name="LCID" select="$LCID"/>
  2848.       </xsl:call-template>
  2849.     </xsl:variable>
  2850.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:SecondaryAuthors/b:FML"/>
  2851.   </xsl:template>
  2852.  
  2853.   
  2854.   <xsl:template name="templ_prop_ISO690_SecondaryAuthors_FM" >
  2855.     <xsl:param name="LCID" />
  2856.     <xsl:variable name="_LCID">
  2857.       <xsl:call-template name="localLCID">
  2858.         <xsl:with-param name="LCID" select="$LCID"/>
  2859.       </xsl:call-template>
  2860.     </xsl:variable>
  2861.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:SecondaryAuthors/b:FM"/>
  2862.   </xsl:template>
  2863.  
  2864.   
  2865.   <xsl:template name="templ_prop_ISO690_SecondaryAuthors_ML" >
  2866.     <xsl:param name="LCID" />
  2867.     <xsl:variable name="_LCID">
  2868.       <xsl:call-template name="localLCID">
  2869.         <xsl:with-param name="LCID" select="$LCID"/>
  2870.       </xsl:call-template>
  2871.     </xsl:variable>
  2872.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:SecondaryAuthors/b:ML"/>
  2873.   </xsl:template>
  2874.  
  2875.   
  2876.   <xsl:template name="templ_prop_ISO690_SecondaryAuthors_FL" >
  2877.     <xsl:param name="LCID" />
  2878.     <xsl:variable name="_LCID">
  2879.       <xsl:call-template name="localLCID">
  2880.         <xsl:with-param name="LCID" select="$LCID"/>
  2881.       </xsl:call-template>
  2882.     </xsl:variable>
  2883.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:SecondaryAuthors/b:FL"/>
  2884.   </xsl:template>
  2885.  
  2886.   
  2887.   <xsl:template name="templ_prop_ISO690_SameAuthor" >
  2888.     <xsl:param name="LCID" />
  2889.     <xsl:variable name="_LCID">
  2890.       <xsl:call-template name="localLCID">
  2891.         <xsl:with-param name="LCID" select="$LCID"/>
  2892.       </xsl:call-template>
  2893.     </xsl:variable>
  2894.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:SameAuthor"/>
  2895.   </xsl:template>
  2896.  
  2897.   
  2898.   <xsl:template name="templ_prop_ISO690_GeneralOpen" >
  2899.     <xsl:param name="LCID" />
  2900.     <xsl:variable name="_LCID">
  2901.       <xsl:call-template name="localLCID">
  2902.         <xsl:with-param name="LCID" select="$LCID"/>
  2903.       </xsl:call-template>
  2904.     </xsl:variable>
  2905.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:GeneralOpen"/>
  2906.   </xsl:template>
  2907.  
  2908.   
  2909.   <xsl:template name="templ_prop_ISO690_GeneralClose" >
  2910.     <xsl:param name="LCID" />
  2911.     <xsl:variable name="_LCID">
  2912.       <xsl:call-template name="localLCID">
  2913.         <xsl:with-param name="LCID" select="$LCID"/>
  2914.       </xsl:call-template>
  2915.     </xsl:variable>
  2916.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:GeneralClose"/>
  2917.   </xsl:template>
  2918.  
  2919.   
  2920.   <xsl:template name="templ_prop_ISO690_Date_DMY" >
  2921.     <xsl:param name="LCID" />
  2922.     <xsl:variable name="_LCID">
  2923.       <xsl:call-template name="localLCID">
  2924.         <xsl:with-param name="LCID" select="$LCID"/>
  2925.       </xsl:call-template>
  2926.     </xsl:variable>
  2927.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:Date/b:DMY"/>
  2928.   </xsl:template>
  2929.  
  2930.   
  2931.   <xsl:template name="templ_prop_ISO690_Date_DM" >
  2932.     <xsl:param name="LCID" />
  2933.     <xsl:variable name="_LCID">
  2934.       <xsl:call-template name="localLCID">
  2935.         <xsl:with-param name="LCID" select="$LCID"/>
  2936.       </xsl:call-template>
  2937.     </xsl:variable>
  2938.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:Date/b:DM"/>
  2939.   </xsl:template>
  2940.  
  2941.   
  2942.   <xsl:template name="templ_prop_ISO690_Date_MY" >
  2943.     <xsl:param name="LCID" />
  2944.     <xsl:variable name="_LCID">
  2945.       <xsl:call-template name="localLCID">
  2946.         <xsl:with-param name="LCID" select="$LCID"/>
  2947.       </xsl:call-template>
  2948.     </xsl:variable>
  2949.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:Date/b:MY"/>
  2950.   </xsl:template>
  2951.  
  2952.   
  2953.   <xsl:template name="templ_prop_ISO690_Date_DY" >
  2954.     <xsl:param name="LCID" />
  2955.     <xsl:variable name="_LCID">
  2956.       <xsl:call-template name="localLCID">
  2957.         <xsl:with-param name="LCID" select="$LCID"/>
  2958.       </xsl:call-template>
  2959.     </xsl:variable>
  2960.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:Date/b:DY"/>
  2961.   </xsl:template>
  2962.  
  2963.   
  2964.   <xsl:template name="templ_prop_ISO690_DateAccessed_DMY" >
  2965.     <xsl:param name="LCID" />
  2966.     <xsl:variable name="_LCID">
  2967.       <xsl:call-template name="localLCID">
  2968.         <xsl:with-param name="LCID" select="$LCID"/>
  2969.       </xsl:call-template>
  2970.     </xsl:variable>
  2971.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:DateAccessed/b:DMY"/>
  2972.   </xsl:template>
  2973.  
  2974.   
  2975.   <xsl:template name="templ_prop_ISO690_DateAccessed_DM" >
  2976.     <xsl:param name="LCID" />
  2977.     <xsl:variable name="_LCID">
  2978.       <xsl:call-template name="localLCID">
  2979.         <xsl:with-param name="LCID" select="$LCID"/>
  2980.       </xsl:call-template>
  2981.     </xsl:variable>
  2982.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:DateAccessed/b:DM"/>
  2983.   </xsl:template>
  2984.  
  2985.   
  2986.   <xsl:template name="templ_prop_ISO690_DateAccessed_MY" >
  2987.     <xsl:param name="LCID" />
  2988.     <xsl:variable name="_LCID">
  2989.       <xsl:call-template name="localLCID">
  2990.         <xsl:with-param name="LCID" select="$LCID"/>
  2991.       </xsl:call-template>
  2992.     </xsl:variable>
  2993.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:DateAccessed/b:MY"/>
  2994.   </xsl:template>
  2995.  
  2996.   
  2997.   <xsl:template name="templ_prop_ISO690_DateAccessed_DY" >
  2998.     <xsl:param name="LCID" />
  2999.     <xsl:variable name="_LCID">
  3000.       <xsl:call-template name="localLCID">
  3001.         <xsl:with-param name="LCID" select="$LCID"/>
  3002.       </xsl:call-template>
  3003.     </xsl:variable>
  3004.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:DateAccessed/b:DY"/>
  3005.   </xsl:template>
  3006.  
  3007.   
  3008.   <xsl:template name="templ_prop_Gost_Authors_FML" >
  3009.     <xsl:param name="LCID" />
  3010.     <xsl:variable name="_LCID">
  3011.       <xsl:call-template name="localLCID">
  3012.         <xsl:with-param name="LCID" select="$LCID"/>
  3013.       </xsl:call-template>
  3014.     </xsl:variable>
  3015.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Authors/b:FML"/>
  3016.   </xsl:template>
  3017.  
  3018.   
  3019.   <xsl:template name="templ_prop_Gost_Authors_FM" >
  3020.     <xsl:param name="LCID" />
  3021.     <xsl:variable name="_LCID">
  3022.       <xsl:call-template name="localLCID">
  3023.         <xsl:with-param name="LCID" select="$LCID"/>
  3024.       </xsl:call-template>
  3025.     </xsl:variable>
  3026.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Authors/b:FM"/>
  3027.   </xsl:template>
  3028.  
  3029.   
  3030.   <xsl:template name="templ_prop_Gost_Authors_ML" >
  3031.     <xsl:param name="LCID" />
  3032.     <xsl:variable name="_LCID">
  3033.       <xsl:call-template name="localLCID">
  3034.         <xsl:with-param name="LCID" select="$LCID"/>
  3035.       </xsl:call-template>
  3036.     </xsl:variable>
  3037.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Authors/b:ML"/>
  3038.   </xsl:template>
  3039.  
  3040.   
  3041.   <xsl:template name="templ_prop_Gost_Authors_FL" >
  3042.     <xsl:param name="LCID" />
  3043.     <xsl:variable name="_LCID">
  3044.       <xsl:call-template name="localLCID">
  3045.         <xsl:with-param name="LCID" select="$LCID"/>
  3046.       </xsl:call-template>
  3047.     </xsl:variable>
  3048.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Authors/b:FL"/>
  3049.   </xsl:template>
  3050.  
  3051.   
  3052.   <xsl:template name="templ_prop_Gost_Date_DMY" >
  3053.     <xsl:param name="LCID" />
  3054.     <xsl:variable name="_LCID">
  3055.       <xsl:call-template name="localLCID">
  3056.         <xsl:with-param name="LCID" select="$LCID"/>
  3057.       </xsl:call-template>
  3058.     </xsl:variable>
  3059.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Date/b:DMY"/>
  3060.   </xsl:template>
  3061.  
  3062.   
  3063.   <xsl:template name="templ_prop_Gost_Date_DM" >
  3064.     <xsl:param name="LCID" />
  3065.     <xsl:variable name="_LCID">
  3066.       <xsl:call-template name="localLCID">
  3067.         <xsl:with-param name="LCID" select="$LCID"/>
  3068.       </xsl:call-template>
  3069.     </xsl:variable>
  3070.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Date/b:DM"/>
  3071.   </xsl:template>
  3072.  
  3073.   
  3074.   <xsl:template name="templ_prop_Gost_Date_MY" >
  3075.     <xsl:param name="LCID" />
  3076.     <xsl:variable name="_LCID">
  3077.       <xsl:call-template name="localLCID">
  3078.         <xsl:with-param name="LCID" select="$LCID"/>
  3079.       </xsl:call-template>
  3080.     </xsl:variable>
  3081.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Date/b:MY"/>
  3082.   </xsl:template>
  3083.  
  3084.   
  3085.   <xsl:template name="templ_prop_Gost_Date_DY" >
  3086.     <xsl:param name="LCID" />
  3087.     <xsl:variable name="_LCID">
  3088.       <xsl:call-template name="localLCID">
  3089.         <xsl:with-param name="LCID" select="$LCID"/>
  3090.       </xsl:call-template>
  3091.     </xsl:variable>
  3092.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Date/b:DY"/>
  3093.   </xsl:template>
  3094.  
  3095.   
  3096.   <xsl:template name="templ_prop_Gost_GeneralOpen" >
  3097.     <xsl:param name="LCID" />
  3098.     <xsl:variable name="_LCID">
  3099.       <xsl:call-template name="localLCID">
  3100.         <xsl:with-param name="LCID" select="$LCID"/>
  3101.       </xsl:call-template>
  3102.     </xsl:variable>
  3103.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:GeneralOpen"/>
  3104.   </xsl:template>
  3105.  
  3106.   
  3107.   <xsl:template name="templ_prop_Gost_GeneralClose" >
  3108.     <xsl:param name="LCID" />
  3109.     <xsl:variable name="_LCID">
  3110.       <xsl:call-template name="localLCID">
  3111.         <xsl:with-param name="LCID" select="$LCID"/>
  3112.       </xsl:call-template>
  3113.     </xsl:variable>
  3114.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:GeneralClose"/>
  3115.   </xsl:template>
  3116.  
  3117.   
  3118.   <xsl:template name="templ_prop_Gost_OneSlash" >
  3119.     <xsl:param name="LCID" />
  3120.     <xsl:variable name="_LCID">
  3121.       <xsl:call-template name="localLCID">
  3122.         <xsl:with-param name="LCID" select="$LCID"/>
  3123.       </xsl:call-template>
  3124.     </xsl:variable>
  3125.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:OneSlash"/>
  3126.   </xsl:template>
  3127.  
  3128.   
  3129.   <xsl:template name="templ_prop_Gost_TwoSlash" >
  3130.     <xsl:param name="LCID" />
  3131.     <xsl:variable name="_LCID">
  3132.       <xsl:call-template name="localLCID">
  3133.         <xsl:with-param name="LCID" select="$LCID"/>
  3134.       </xsl:call-template>
  3135.     </xsl:variable>
  3136.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:TwoSlash"/>
  3137.   </xsl:template>
  3138.  
  3139.   
  3140.   <xsl:template name="templ_prop_SIST_MainAuthors_FML" >
  3141.     <xsl:param name="LCID" />
  3142.     <xsl:variable name="_LCID">
  3143.       <xsl:call-template name="localLCID">
  3144.         <xsl:with-param name="LCID" select="$LCID"/>
  3145.       </xsl:call-template>
  3146.     </xsl:variable>
  3147.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:MainAuthors/b:FML"/>
  3148.   </xsl:template>
  3149.  
  3150.   
  3151.   <xsl:template name="templ_prop_SIST_MainAuthors_FM" >
  3152.     <xsl:param name="LCID" />
  3153.     <xsl:variable name="_LCID">
  3154.       <xsl:call-template name="localLCID">
  3155.         <xsl:with-param name="LCID" select="$LCID"/>
  3156.       </xsl:call-template>
  3157.     </xsl:variable>
  3158.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:MainAuthors/b:FM"/>
  3159.   </xsl:template>
  3160.  
  3161.   
  3162.   <xsl:template name="templ_prop_SIST_MainAuthors_ML" >
  3163.     <xsl:param name="LCID" />
  3164.     <xsl:variable name="_LCID">
  3165.       <xsl:call-template name="localLCID">
  3166.         <xsl:with-param name="LCID" select="$LCID"/>
  3167.       </xsl:call-template>
  3168.     </xsl:variable>
  3169.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:MainAuthors/b:ML"/>
  3170.   </xsl:template>
  3171.  
  3172.   
  3173.   <xsl:template name="templ_prop_SIST_MainAuthors_FL" >
  3174.     <xsl:param name="LCID" />
  3175.     <xsl:variable name="_LCID">
  3176.       <xsl:call-template name="localLCID">
  3177.         <xsl:with-param name="LCID" select="$LCID"/>
  3178.       </xsl:call-template>
  3179.     </xsl:variable>
  3180.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:MainAuthors/b:FL"/>
  3181.   </xsl:template>
  3182.  
  3183.   
  3184.   <xsl:template name="templ_prop_SIST_SecondaryAuthors_FML" >
  3185.     <xsl:param name="LCID" />
  3186.     <xsl:variable name="_LCID">
  3187.       <xsl:call-template name="localLCID">
  3188.         <xsl:with-param name="LCID" select="$LCID"/>
  3189.       </xsl:call-template>
  3190.     </xsl:variable>
  3191.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:SecondaryAuthors/b:FML"/>
  3192.   </xsl:template>
  3193.  
  3194.   
  3195.   <xsl:template name="templ_prop_SIST_SecondaryAuthors_FM" >
  3196.     <xsl:param name="LCID" />
  3197.     <xsl:variable name="_LCID">
  3198.       <xsl:call-template name="localLCID">
  3199.         <xsl:with-param name="LCID" select="$LCID"/>
  3200.       </xsl:call-template>
  3201.     </xsl:variable>
  3202.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:SecondaryAuthors/b:FM"/>
  3203.   </xsl:template>
  3204.  
  3205.   
  3206.   <xsl:template name="templ_prop_SIST_SecondaryAuthors_ML" >
  3207.     <xsl:param name="LCID" />
  3208.     <xsl:variable name="_LCID">
  3209.       <xsl:call-template name="localLCID">
  3210.         <xsl:with-param name="LCID" select="$LCID"/>
  3211.       </xsl:call-template>
  3212.     </xsl:variable>
  3213.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:SecondaryAuthors/b:ML"/>
  3214.   </xsl:template>
  3215.  
  3216.   
  3217.   <xsl:template name="templ_prop_SIST_SecondaryAuthors_FL" >
  3218.     <xsl:param name="LCID" />
  3219.     <xsl:variable name="_LCID">
  3220.       <xsl:call-template name="localLCID">
  3221.         <xsl:with-param name="LCID" select="$LCID"/>
  3222.       </xsl:call-template>
  3223.     </xsl:variable>
  3224.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:SecondaryAuthors/b:FL"/>
  3225.   </xsl:template>
  3226.  
  3227.   
  3228.   <xsl:template name="templ_prop_SIST_SameAuthor" >
  3229.     <xsl:param name="LCID" />
  3230.     <xsl:variable name="_LCID">
  3231.       <xsl:call-template name="localLCID">
  3232.         <xsl:with-param name="LCID" select="$LCID"/>
  3233.       </xsl:call-template>
  3234.     </xsl:variable>
  3235.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:SameAuthor"/>
  3236.   </xsl:template>
  3237.  
  3238.   
  3239.   <xsl:template name="templ_prop_SIST_GeneralOpen" >
  3240.     <xsl:param name="LCID" />
  3241.     <xsl:variable name="_LCID">
  3242.       <xsl:call-template name="localLCID">
  3243.         <xsl:with-param name="LCID" select="$LCID"/>
  3244.       </xsl:call-template>
  3245.     </xsl:variable>
  3246.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:GeneralOpen"/>
  3247.   </xsl:template>
  3248.  
  3249.   
  3250.   <xsl:template name="templ_prop_SIST_GeneralClose" >
  3251.     <xsl:param name="LCID" />
  3252.     <xsl:variable name="_LCID">
  3253.       <xsl:call-template name="localLCID">
  3254.         <xsl:with-param name="LCID" select="$LCID"/>
  3255.       </xsl:call-template>
  3256.     </xsl:variable>
  3257.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:GeneralClose"/>
  3258.   </xsl:template>
  3259.  
  3260.   
  3261.   <xsl:template name="templ_prop_SIST_Date_DMY" >
  3262.     <xsl:param name="LCID" />
  3263.     <xsl:variable name="_LCID">
  3264.       <xsl:call-template name="localLCID">
  3265.         <xsl:with-param name="LCID" select="$LCID"/>
  3266.       </xsl:call-template>
  3267.     </xsl:variable>
  3268.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:Date/b:DMY"/>
  3269.   </xsl:template>
  3270.  
  3271.   
  3272.   <xsl:template name="templ_prop_SIST_Date_DM" >
  3273.     <xsl:param name="LCID" />
  3274.     <xsl:variable name="_LCID">
  3275.       <xsl:call-template name="localLCID">
  3276.         <xsl:with-param name="LCID" select="$LCID"/>
  3277.       </xsl:call-template>
  3278.     </xsl:variable>
  3279.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:Date/b:DM"/>
  3280.   </xsl:template>
  3281.  
  3282.   
  3283.   <xsl:template name="templ_prop_SIST_Date_MY" >
  3284.     <xsl:param name="LCID" />
  3285.     <xsl:variable name="_LCID">
  3286.       <xsl:call-template name="localLCID">
  3287.         <xsl:with-param name="LCID" select="$LCID"/>
  3288.       </xsl:call-template>
  3289.     </xsl:variable>
  3290.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:Date/b:MY"/>
  3291.   </xsl:template>
  3292.  
  3293.   
  3294.   <xsl:template name="templ_prop_SIST_Date_DY" >
  3295.     <xsl:param name="LCID" />
  3296.     <xsl:variable name="_LCID">
  3297.       <xsl:call-template name="localLCID">
  3298.         <xsl:with-param name="LCID" select="$LCID"/>
  3299.       </xsl:call-template>
  3300.     </xsl:variable>
  3301.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:Date/b:DY"/>
  3302.   </xsl:template>
  3303.  
  3304.   
  3305.   <xsl:template name="templ_prop_SIST_DateAccessed_DMY" >
  3306.     <xsl:param name="LCID" />
  3307.     <xsl:variable name="_LCID">
  3308.       <xsl:call-template name="localLCID">
  3309.         <xsl:with-param name="LCID" select="$LCID"/>
  3310.       </xsl:call-template>
  3311.     </xsl:variable>
  3312.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:DateAccessed/b:DMY"/>
  3313.   </xsl:template>
  3314.  
  3315.   
  3316.   <xsl:template name="templ_prop_SIST_DateAccessed_DM" >
  3317.     <xsl:param name="LCID" />
  3318.     <xsl:variable name="_LCID">
  3319.       <xsl:call-template name="localLCID">
  3320.         <xsl:with-param name="LCID" select="$LCID"/>
  3321.       </xsl:call-template>
  3322.     </xsl:variable>
  3323.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:DateAccessed/b:DM"/>
  3324.   </xsl:template>
  3325.  
  3326.   
  3327.   <xsl:template name="templ_prop_SIST_DateAccessed_MY" >
  3328.     <xsl:param name="LCID" />
  3329.     <xsl:variable name="_LCID">
  3330.       <xsl:call-template name="localLCID">
  3331.         <xsl:with-param name="LCID" select="$LCID"/>
  3332.       </xsl:call-template>
  3333.     </xsl:variable>
  3334.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:DateAccessed/b:MY"/>
  3335.   </xsl:template>
  3336.  
  3337.   
  3338.   <xsl:template name="templ_prop_SIST_DateAccessed_DY" >
  3339.     <xsl:param name="LCID" />
  3340.     <xsl:variable name="_LCID">
  3341.       <xsl:call-template name="localLCID">
  3342.         <xsl:with-param name="LCID" select="$LCID"/>
  3343.       </xsl:call-template>
  3344.     </xsl:variable>
  3345.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:DateAccessed/b:DY"/>
  3346.   </xsl:template>
  3347.  
  3348.  
  3349.       
  3350.  
  3351.             
  3352. <xsl:variable name="constGost_CitationOpen">
  3353.     <xsl:call-template name="templ_prop_OpenBracket" />
  3354.     
  3355. </xsl:variable>
  3356. <xsl:variable name="constGost_CitationClose">
  3357.     <xsl:call-template name="templ_prop_CloseBracket" />
  3358.     
  3359. </xsl:variable>
  3360. <xsl:variable name="constGost_CitationNamePartsSeparator">
  3361.     <xsl:call-template name="templ_prop_Space" />
  3362.     
  3363. </xsl:variable>
  3364. <xsl:variable name="constGost_CitationNameAndOther">
  3365.     <xsl:call-template name="templ_prop_Space" />
  3366.     <xsl:call-template name="templ_str_AndOthersUnCap"/>
  3367.     
  3368. </xsl:variable>
  3369. <xsl:variable name="constGost_CitationAuthorYearSeparator">
  3370.     <xsl:call-template name="templ_prop_ListSeparator" />
  3371.     
  3372. </xsl:variable>
  3373. <xsl:variable name="constGost_CitationAuthorOrYearVolumeSeparator">
  3374.     <xsl:call-template name="templ_prop_Space" />
  3375.     
  3376. </xsl:variable>
  3377. <xsl:variable name="constGost_CitationVolumeFooter">
  3378.     <xsl:call-template name="templ_prop_Enum" />
  3379.     
  3380. </xsl:variable>
  3381. <xsl:variable name="constGost_CitationPageHeader">
  3382.     <xsl:call-template name="templ_prop_Space" />
  3383.     <xsl:call-template name="templ_str_PageShort"/>
  3384.     <xsl:call-template name="templ_prop_Space" />
  3385.     
  3386. </xsl:variable>
  3387. <xsl:variable name="constGost_CitationVolumeHeader">
  3388.     <xsl:call-template name="templ_prop_ListSeparator" />
  3389.     
  3390. </xsl:variable>
  3391. <xsl:variable name="constGost_CitationVolumeStringVolumeSeparator">
  3392.     <xsl:call-template name="templ_prop_Space" />
  3393.     
  3394. </xsl:variable>
  3395. <xsl:variable name="constGost_CitationAuthorSeparator">
  3396.     <xsl:call-template name="templ_prop_GroupSeparator" />
  3397.     
  3398. </xsl:variable>
  3399. <xsl:variable name="constGost_SourceTypeOpen">
  3400.     <xsl:call-template name="templ_prop_Space" />
  3401.     <xsl:call-template name="templ_prop_Gost_GeneralOpen" />
  3402.     
  3403. </xsl:variable>
  3404. <xsl:variable name="constGost_SourceTypeClose">
  3405.     <xsl:call-template name="templ_prop_Gost_GeneralClose" />
  3406.     
  3407. </xsl:variable>
  3408. <xsl:variable name="constGost_PrimaryResponsibilitiesOpen">
  3409.     <xsl:call-template name="templ_prop_Gost_GeneralOpen" />
  3410.     
  3411. </xsl:variable>
  3412. <xsl:variable name="constGost_PrimaryResponsibilitiesClose">
  3413.     <xsl:call-template name="templ_prop_Gost_GeneralClose" />
  3414.     
  3415. </xsl:variable>
  3416. <xsl:variable name="constGost_TitleHeader">
  3417.     <xsl:call-template name="templ_prop_Space" />
  3418.     
  3419. </xsl:variable>
  3420. <xsl:variable name="constGost_TitlePrefixTitleSeparator">
  3421.     <xsl:call-template name="templ_prop_Space" />
  3422.     
  3423. </xsl:variable>
  3424. <xsl:variable name="constGost_NamePartsSeparator">
  3425.     <xsl:call-template name="templ_prop_Space" />
  3426.     
  3427. </xsl:variable>
  3428. <xsl:variable name="constGost_PersonSeparator">
  3429.     <xsl:call-template name="templ_prop_ListSeparator" />
  3430.     
  3431. </xsl:variable>
  3432. <xsl:variable name="constGost_PersonAndOther">
  3433.     <xsl:call-template name="templ_prop_Space" />
  3434.     <xsl:call-template name="templ_prop_Gost_GeneralOpen" />
  3435.     <xsl:call-template name="templ_str_AndOthersUnCap"/>
  3436.     <xsl:call-template name="templ_prop_Gost_GeneralClose" />
  3437.     
  3438. </xsl:variable>
  3439. <xsl:variable name="constGost_SemiColonSeparatedItemsSeparator">
  3440.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  3441.     <xsl:call-template name="templ_prop_GroupSeparator" />
  3442.     
  3443. </xsl:variable>
  3444. <xsl:variable name="constGost_PrimaryResponsibilitiesSeparator">
  3445.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  3446.     <xsl:call-template name="templ_prop_GroupSeparator" />
  3447.     
  3448. </xsl:variable>
  3449. <xsl:variable name="constGost_PrimaryResponsibilitiesHeader">
  3450.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  3451.     <xsl:call-template name="templ_prop_Gost_OneSlash" />
  3452.     <xsl:call-template name="templ_prop_Space" />
  3453.     
  3454. </xsl:variable>
  3455. <xsl:variable name="constGost_CollectionNameHeader">
  3456.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  3457.     <xsl:call-template name="templ_prop_Gost_TwoSlash" />
  3458.     <xsl:call-template name="templ_prop_Space" />
  3459.     
  3460. </xsl:variable>
  3461. <xsl:variable name="constGost_SecondaryResponsibilitiesHeader">
  3462.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  3463.     <xsl:call-template name="templ_prop_Gost_OneSlash" />
  3464.     <xsl:call-template name="templ_prop_Space" />
  3465.     
  3466. </xsl:variable>
  3467. <xsl:variable name="constGost_SecondaryResponsibilitiesSeparator">
  3468.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  3469.     <xsl:call-template name="templ_prop_Gost_OneSlash" />
  3470.     <xsl:call-template name="templ_prop_Space" />
  3471.     
  3472. </xsl:variable>
  3473. <xsl:variable name="constGost_SineLoco">
  3474.     <xsl:call-template name="templ_prop_Gost_GeneralOpen" />
  3475.     <xsl:call-template name="templ_str_SineLocoShort"/>
  3476.     <xsl:call-template name="templ_prop_Gost_GeneralClose" />
  3477.     
  3478. </xsl:variable>
  3479. <xsl:variable name="constGost_SineNomine">
  3480.     <xsl:call-template name="templ_prop_Gost_GeneralOpen" />
  3481.     <xsl:call-template name="templ_str_SineNomineShort"/>
  3482.     <xsl:call-template name="templ_prop_Gost_GeneralClose" />
  3483.     
  3484. </xsl:variable>
  3485. <xsl:variable name="constGost_HyphenSectionHeader">
  3486.     <xsl:call-template name="templ_prop_Dot" />
  3487.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  3488.     <xsl:call-template name="templ_prop_FromToDash" />
  3489.     <xsl:call-template name="templ_prop_Space" />
  3490.     
  3491. </xsl:variable>
  3492. <xsl:variable name="constGost_HyphenSectionSeparator">
  3493.     <xsl:call-template name="templ_prop_ListSeparator" />
  3494.     
  3495. </xsl:variable>
  3496. <xsl:variable name="constGost_HyphenSectionPartsSeparator">
  3497.     <xsl:call-template name="templ_prop_ListSeparator" />
  3498.     
  3499. </xsl:variable>
  3500. <xsl:variable name="constGost_ColonElementSeparator">
  3501.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  3502.     <xsl:call-template name="templ_prop_EnumSeparator" />
  3503.     
  3504. </xsl:variable>
  3505.  
  3506. <xsl:variable name="constGost_ShortTitleHeader">
  3507.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  3508.     <xsl:call-template name="templ_prop_Equal" />
  3509.     <xsl:call-template name="templ_prop_Space" />
  3510.     
  3511. </xsl:variable>
  3512. <xsl:variable name="constGost_SoundRecordingMediumHeader">
  3513.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  3514.     <xsl:call-template name="templ_prop_EnumSeparator" />
  3515.     
  3516. </xsl:variable>
  3517. <xsl:variable name="constGost_ElectronicSourceMediumHeader">
  3518.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  3519.     <xsl:call-template name="templ_prop_EnumSeparator" />
  3520.     
  3521. </xsl:variable>
  3522. <xsl:variable name="constGost_PatentNumberHeader">
  3523.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  3524.     <xsl:call-template name="templ_prop_EnumSeparator" />
  3525.     
  3526. </xsl:variable>
  3527. <xsl:variable name="constGost_PatentTypeHeader">
  3528.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  3529.     <xsl:call-template name="templ_prop_EnumSeparator" />
  3530.     
  3531. </xsl:variable>
  3532. <xsl:variable name="constGost_CaseNumberHeader">
  3533.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  3534.     <xsl:call-template name="templ_prop_EnumSeparator" />
  3535.     
  3536. </xsl:variable>
  3537. <xsl:variable name="constGost_AbbreviatedCaseNumberHeader">
  3538.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  3539.     <xsl:call-template name="templ_prop_EnumSeparator" />
  3540.     
  3541. </xsl:variable>
  3542. <xsl:variable name="constGost_ReportTypeHeader">
  3543.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  3544.     <xsl:call-template name="templ_prop_EnumSeparator" />
  3545.     
  3546. </xsl:variable>
  3547. <xsl:variable name="constGost_PublisherProductionCompanySeparator">
  3548.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  3549.     <xsl:call-template name="templ_prop_GroupSeparator" />
  3550.     
  3551. </xsl:variable>
  3552. <xsl:variable name="constGost_TheaterCitySeparator">
  3553.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  3554.     <xsl:call-template name="templ_prop_GroupSeparator" />
  3555.     
  3556. </xsl:variable>
  3557.  
  3558. <xsl:variable name="constGost_AuthorHeader">
  3559.     <xsl:call-template name="templ_str_AuthorShortUnCap"/>
  3560.     <xsl:call-template name="templ_prop_Space" />
  3561.     
  3562. </xsl:variable>
  3563. <xsl:variable name="constGost_TranslatorHeader">
  3564.     <xsl:call-template name="templ_str_TranslatorShortUnCap"/>
  3565.     <xsl:call-template name="templ_prop_Space" />
  3566.     
  3567. </xsl:variable>
  3568. <xsl:variable name="constGost_CompilerHeader">
  3569.     <xsl:call-template name="templ_str_CompilerShortUnCap"/>
  3570.     <xsl:call-template name="templ_prop_Space" />
  3571.     
  3572. </xsl:variable>
  3573. <xsl:variable name="constGost_ComposerHeader">
  3574.     <xsl:call-template name="templ_str_ComposerShortUnCapIso"/>
  3575.     <xsl:call-template name="templ_prop_Space" />
  3576.     
  3577. </xsl:variable>
  3578. <xsl:variable name="constGost_ArtistHeader">
  3579.     <xsl:call-template name="templ_str_ArtistShortUnCap"/>
  3580.     <xsl:call-template name="templ_prop_Space" />
  3581.     
  3582. </xsl:variable>
  3583. <xsl:variable name="constGost_ConductorHeader">
  3584.     <xsl:call-template name="templ_str_ConductorShortUnCap"/>
  3585.     <xsl:call-template name="templ_prop_Space" />
  3586.     
  3587. </xsl:variable>
  3588. <xsl:variable name="constGost_PerformerHeader">
  3589.     <xsl:call-template name="templ_str_PerformerShortUnCap"/>
  3590.     <xsl:call-template name="templ_prop_Space" />
  3591.     
  3592. </xsl:variable>
  3593. <xsl:variable name="constGost_WriterHeader">
  3594.     <xsl:call-template name="templ_str_WriterShortUnCap"/>
  3595.     <xsl:call-template name="templ_prop_Space" />
  3596.     
  3597. </xsl:variable>
  3598. <xsl:variable name="constGost_DirectorHeader">
  3599.     <xsl:call-template name="templ_str_DirectorShortUnCap"/>
  3600.     <xsl:call-template name="templ_prop_Space" />
  3601.     
  3602. </xsl:variable>
  3603. <xsl:variable name="constGost_ProducerNameHeader">
  3604.     <xsl:call-template name="templ_str_ProducerShortUnCap"/>
  3605.     <xsl:call-template name="templ_prop_Space" />
  3606.     
  3607. </xsl:variable>
  3608. <xsl:variable name="constGost_CounselHeader">
  3609.     <xsl:call-template name="templ_str_CounselShortUnCap"/>
  3610.     <xsl:call-template name="templ_prop_Space" />
  3611.     
  3612. </xsl:variable>
  3613. <xsl:variable name="constGost_BookAuthorHeader">
  3614.     <xsl:call-template name="templ_str_BookAuthorShortUnCap"/>
  3615.     <xsl:call-template name="templ_prop_Space" />
  3616.     
  3617. </xsl:variable>
  3618. <xsl:variable name="constGost_IntervieweeHeader">
  3619.     <xsl:call-template name="templ_str_IntervieweeShortUnCap"/>
  3620.     <xsl:call-template name="templ_prop_Space" />
  3621.     
  3622. </xsl:variable>
  3623.  
  3624.     
  3625.  
  3626.  
  3627.     <xsl:template match="/">
  3628.     
  3629.     
  3630.     
  3631.     
  3632.         <xsl:choose>
  3633.  
  3634.             
  3635.             
  3636.             <xsl:when test="b:Version">
  3637.                 <xsl:text>2006.5.07</xsl:text>
  3638.             </xsl:when>
  3639.             <xsl:when test="b:OfficeStyleKey">
  3640.                 <xsl:text>GOSTTS</xsl:text>
  3641.             </xsl:when>
  3642.  
  3643.  
  3644.  
  3645.  
  3646.             <xsl:when test="b:GetImportantFields">
  3647.                 <b:ImportantFields>
  3648.                     <xsl:choose>
  3649.                         <xsl:when test="b:GetImportantFields/b:SourceType='Book'">
  3650.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3651.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3652.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3653.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3654.                             <b:ImportantField><xsl:text>b:Publisher</xsl:text></b:ImportantField>
  3655.                             <b:ImportantField><xsl:text>b:Volume</xsl:text></b:ImportantField>
  3656.                         </xsl:when>
  3657.  
  3658.                         <xsl:when test="b:GetImportantFields/b:SourceType='BookSection'">
  3659.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3660.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3661.                             <b:ImportantField><xsl:text>b:Author/b:BookAuthor/b:NameList</xsl:text></b:ImportantField>
  3662.                             <b:ImportantField><xsl:text>b:BookTitle</xsl:text></b:ImportantField>
  3663.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3664.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3665.                             <b:ImportantField><xsl:text>b:Publisher</xsl:text></b:ImportantField>
  3666.                             <b:ImportantField><xsl:text>b:Volume</xsl:text></b:ImportantField>
  3667.                         </xsl:when>
  3668.  
  3669.                         <xsl:when test="b:GetImportantFields/b:SourceType='JournalArticle'">
  3670.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3671.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3672.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3673.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3674.                             <b:ImportantField><xsl:text>b:Publisher</xsl:text></b:ImportantField>
  3675.                             <b:ImportantField><xsl:text>b:Volume</xsl:text></b:ImportantField>
  3676.                             <b:ImportantField><xsl:text>b:Issue</xsl:text></b:ImportantField>
  3677.                         </xsl:when>
  3678.  
  3679.                         <xsl:when test="b:GetImportantFields/b:SourceType='ArticleInAPeriodical'">
  3680.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3681.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3682.                             <b:ImportantField><xsl:text>b:PeriodicalTitle</xsl:text></b:ImportantField>
  3683.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3684.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3685.                             <b:ImportantField><xsl:text>b:Edition</xsl:text></b:ImportantField>
  3686.                             <b:ImportantField><xsl:text>b:Volume</xsl:text></b:ImportantField>
  3687.                             <b:ImportantField><xsl:text>b:Issue</xsl:text></b:ImportantField>
  3688.                             <b:ImportantField><xsl:text>b:Publisher</xsl:text></b:ImportantField>
  3689.                         </xsl:when>
  3690.  
  3691.                         <xsl:when test="b:GetImportantFields/b:SourceType='ConferenceProceedings'">
  3692.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3693.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3694.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3695.                             <b:ImportantField><xsl:text>b:ConferenceName</xsl:text></b:ImportantField>
  3696.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3697.                             <b:ImportantField><xsl:text>b:Publisher</xsl:text></b:ImportantField>
  3698.                             <b:ImportantField><xsl:text>b:Volume</xsl:text></b:ImportantField>
  3699.                         </xsl:when>
  3700.  
  3701.                         <xsl:when test="b:GetImportantFields/b:SourceType='Report'">
  3702.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3703.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3704.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3705.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3706.                             <b:ImportantField><xsl:text>b:Publisher</xsl:text></b:ImportantField>
  3707.                         </xsl:when>
  3708.  
  3709.                         <xsl:when test="b:GetImportantFields/b:SourceType='SoundRecording'">
  3710.                             <b:ImportantField><xsl:text>b:Author/b:Artist/b:NameList</xsl:text></b:ImportantField>
  3711.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3712.                             <b:ImportantField><xsl:text>b:AlbumTitle</xsl:text></b:ImportantField>
  3713.                             <b:ImportantField><xsl:text>b:ProductionCompany</xsl:text></b:ImportantField>
  3714.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3715.                             <b:ImportantField><xsl:text>b:Medium</xsl:text></b:ImportantField>
  3716.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3717.                         </xsl:when>
  3718.  
  3719.                         <xsl:when test="b:GetImportantFields/b:SourceType='Performance'">
  3720.                             <b:ImportantField><xsl:text>b:Author/b:Writer/b:NameList</xsl:text></b:ImportantField>
  3721.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3722.                             <b:ImportantField><xsl:text>b:ProductionCompany</xsl:text></b:ImportantField>
  3723.                             <b:ImportantField><xsl:text>b:Theater</xsl:text></b:ImportantField>
  3724.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3725.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3726.                         </xsl:when>
  3727.  
  3728.                         <xsl:when test="b:GetImportantFields/b:SourceType='Art'">
  3729.                             <b:ImportantField><xsl:text>b:Author/b:Artist/b:NameList</xsl:text></b:ImportantField>
  3730.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3731.                             <b:ImportantField><xsl:text>b:Institution</xsl:text></b:ImportantField>
  3732.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3733.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3734.                         </xsl:when>
  3735.  
  3736.                         <xsl:when test="b:GetImportantFields/b:SourceType='DocumentFromInternetSite'">
  3737.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3738.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3739.                             <b:ImportantField><xsl:text>b:InternetSiteTitle</xsl:text></b:ImportantField>
  3740.                             <b:ImportantField><xsl:text>b:ProductionCompany</xsl:text></b:ImportantField>
  3741.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3742.                             <b:ImportantField><xsl:text>b:Month</xsl:text></b:ImportantField>
  3743.                             <b:ImportantField><xsl:text>b:Day</xsl:text></b:ImportantField>
  3744.                             <b:ImportantField><xsl:text>b:YearAccessed</xsl:text></b:ImportantField>
  3745.                             <b:ImportantField><xsl:text>b:MonthAccessed</xsl:text></b:ImportantField>
  3746.                             <b:ImportantField><xsl:text>b:DayAccessed</xsl:text></b:ImportantField>
  3747.                             <b:ImportantField><xsl:text>b:URL</xsl:text></b:ImportantField>
  3748.                             <b:ImportantField><xsl:text>b:Version</xsl:text></b:ImportantField>
  3749.                         </xsl:when>
  3750.  
  3751.                         <xsl:when test="b:GetImportantFields/b:SourceType='InternetSite'">
  3752.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3753.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3754.                             <b:ImportantField><xsl:text>b:InternetSiteTitle</xsl:text></b:ImportantField>
  3755.                             <b:ImportantField><xsl:text>b:ProductionCompany</xsl:text></b:ImportantField>
  3756.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3757.                             <b:ImportantField><xsl:text>b:Month</xsl:text></b:ImportantField>
  3758.                             <b:ImportantField><xsl:text>b:Day</xsl:text></b:ImportantField>
  3759.                             <b:ImportantField><xsl:text>b:YearAccessed</xsl:text></b:ImportantField>
  3760.                             <b:ImportantField><xsl:text>b:MonthAccessed</xsl:text></b:ImportantField>
  3761.                             <b:ImportantField><xsl:text>b:DayAccessed</xsl:text></b:ImportantField>
  3762.                             <b:ImportantField><xsl:text>b:URL</xsl:text></b:ImportantField>
  3763.                             <b:ImportantField><xsl:text>b:Version</xsl:text></b:ImportantField>
  3764.                         </xsl:when>
  3765.  
  3766.                         <xsl:when test="b:GetImportantFields/b:SourceType='Film'">
  3767.                             <b:ImportantField><xsl:text>b:Author/b:Director/b:NameList</xsl:text></b:ImportantField>
  3768.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3769.                             <b:ImportantField><xsl:text>b:ProductionCompany</xsl:text></b:ImportantField>
  3770.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3771.                         </xsl:when>
  3772.  
  3773.                         <xsl:when test="b:GetImportantFields/b:SourceType='Interview'">
  3774.                             <b:ImportantField><xsl:text>b:Author/b:Interviewee/b:NameList</xsl:text></b:ImportantField>
  3775.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3776.                             <b:ImportantField><xsl:text>b:BroadcastTitle</xsl:text></b:ImportantField>
  3777.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3778.                             <b:ImportantField><xsl:text>b:Month</xsl:text></b:ImportantField>
  3779.                             <b:ImportantField><xsl:text>b:Day</xsl:text></b:ImportantField>
  3780.                             <b:ImportantField><xsl:text>b:Broadcaster</xsl:text></b:ImportantField>
  3781.                             <b:ImportantField><xsl:text>b:Station</xsl:text></b:ImportantField>
  3782.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3783.                         </xsl:when>
  3784.  
  3785.                         <xsl:when test="b:GetImportantFields/b:SourceType='Patent'">
  3786.                             <b:ImportantField><xsl:text>b:Author/b:Inventor/b:NameList</xsl:text></b:ImportantField>
  3787.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3788.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3789.                             <b:ImportantField><xsl:text>b:Month</xsl:text></b:ImportantField>
  3790.                             <b:ImportantField><xsl:text>b:Day</xsl:text></b:ImportantField>
  3791.                             <b:ImportantField><xsl:text>b:CountryRegion</xsl:text></b:ImportantField>
  3792.                         </xsl:when>
  3793.  
  3794.                         <xsl:when test="b:GetImportantFields/b:SourceType='ElectronicSource'">
  3795.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3796.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3797.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3798.                             <b:ImportantField><xsl:text>b:ProductionCompany</xsl:text></b:ImportantField>
  3799.                             <b:ImportantField><xsl:text>b:Medium</xsl:text></b:ImportantField>
  3800.                             <b:ImportantField><xsl:text>b:Volume</xsl:text></b:ImportantField>
  3801.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3802.                         </xsl:when>
  3803.  
  3804.                         <xsl:when test="b:GetImportantFields/b:SourceType='Case'">
  3805.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3806.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3807.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3808.                             <b:ImportantField><xsl:text>b:Court</xsl:text></b:ImportantField>
  3809.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3810.                         </xsl:when>
  3811.  
  3812.                         <xsl:when test="b:GetImportantFields/b:SourceType='Misc'">
  3813.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3814.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3815.                             <b:ImportantField><xsl:text>b:PublicationTitle</xsl:text></b:ImportantField>
  3816.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3817.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3818.                             <b:ImportantField><xsl:text>b:Publisher</xsl:text></b:ImportantField>
  3819.                             <b:ImportantField><xsl:text>b:Volume</xsl:text></b:ImportantField>
  3820.                             <b:ImportantField><xsl:text>b:Issue</xsl:text></b:ImportantField>
  3821.                         </xsl:when>
  3822.  
  3823.                     </xsl:choose>
  3824.                 </b:ImportantFields>
  3825.             </xsl:when>
  3826.  
  3827.  
  3828.             <xsl:when test="b:Citation">
  3829.  
  3830.                 <xsl:variable name="ListPopulatedWithMain">
  3831.                         <xsl:call-template name="populateMain">
  3832.                             <xsl:with-param name="Type">b:Citation</xsl:with-param>
  3833.                         </xsl:call-template>
  3834.                 </xsl:variable>
  3835.  
  3836.             
  3837.             
  3838.                 <html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
  3839.                     <head>
  3840.                     </head>
  3841.                     <body>
  3842.                         <xsl:variable name="LCID">
  3843.                           <xsl:choose>
  3844.                             <xsl:when test="b:LCID='0' or b:LCID='' or not(b:LCID)">
  3845.                               <xsl:value-of select="/*/b:Locals/b:DefaultLCID"/>
  3846.                             </xsl:when>
  3847.                             <xsl:otherwise>
  3848.                               <xsl:value-of select="b:LCID"/>
  3849.                             </xsl:otherwise>
  3850.                           </xsl:choose>
  3851.                         </xsl:variable>
  3852.  
  3853.                         <xsl:element name="p">
  3854.  
  3855.                         <xsl:attribute name="lang">
  3856.                             <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$LCID]/@Culture"/>
  3857.                         </xsl:attribute>
  3858.                         <xsl:attribute name="dir">
  3859.                             <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$LCID]/b:Properties/b:Direction"/>
  3860.                         </xsl:attribute>
  3861.  
  3862.                         <xsl:variable name="type">
  3863.                             <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:SourceType"/>
  3864.                         </xsl:variable>
  3865.  
  3866.                         <xsl:variable name="title0">
  3867.                             <xsl:choose>
  3868.                                 <xsl:when test="string-length(msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:ShortTitle)>0">
  3869.                                     <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:ShortTitle" />
  3870.                                 </xsl:when>
  3871.  
  3872.                                 <xsl:otherwise>
  3873.                                     <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Title" />
  3874.                                 </xsl:otherwise>
  3875.                             </xsl:choose>
  3876.                         </xsl:variable>
  3877.  
  3878.                         <xsl:variable name="year0">
  3879.                             <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Year" />
  3880.                         </xsl:variable>                        
  3881.  
  3882.                         <xsl:variable name="authorMain">
  3883.                             <xsl:copy-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Author/b:Main"/>
  3884.                         </xsl:variable>
  3885.  
  3886.                         <xsl:variable name="author0">
  3887.                             <xsl:choose>
  3888.                                 <xsl:when test="string-length(msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Author/b:Main/b:Corporate) > 0">
  3889.                                     <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Author/b:Main/b:Corporate" />
  3890.                                 </xsl:when>
  3891.                                 <xsl:otherwise>
  3892.                                     <xsl:variable name="cAuthors">
  3893.                                         <xsl:value-of select="count(msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Author/b:Main/b:NameList/b:Person)" />
  3894.                                     </xsl:variable>
  3895.                                     <xsl:for-each select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Author/b:Main/b:NameList/b:Person">
  3896.                                         <xsl:choose>
  3897.                                             <xsl:when test="position() >= 2">
  3898.                                             </xsl:when>
  3899.                                             <xsl:when test="position() = 1">
  3900.                                                 <xsl:call-template name="formatNameCore">
  3901.                                                     <xsl:with-param name="FML">
  3902.                                                         <xsl:call-template name="templ_prop_Gost_CitationShort_FML"/>
  3903.                                                     </xsl:with-param>
  3904.                                                     <xsl:with-param name="FM">
  3905.                                                         <xsl:call-template name="templ_prop_Gost_CitationShort_FM"/>
  3906.                                                     </xsl:with-param>
  3907.                                                     <xsl:with-param name="ML">
  3908.                                                         <xsl:call-template name="templ_prop_Gost_CitationShort_ML"/>
  3909.                                                     </xsl:with-param>
  3910.                                                     <xsl:with-param name="FL">
  3911.                                                         <xsl:call-template name="templ_prop_Gost_CitationShort_FL"/>
  3912.                                                     </xsl:with-param>
  3913.                                                     <xsl:with-param name="upperLast">no</xsl:with-param>
  3914.                                                     <xsl:with-param name="withDot">no</xsl:with-param>
  3915.                                                 </xsl:call-template>
  3916.                                             </xsl:when>
  3917.                                         </xsl:choose>
  3918.                                     </xsl:for-each>
  3919.                                     <xsl:if test = "$cAuthors > 1">
  3920.                                         <xsl:call-template name="templ_prop_AuthorsSeparator"/>
  3921.                                         <xsl:call-template name="templ_str_AndOthersUnCap"/>
  3922.                                     </xsl:if>
  3923.                                 </xsl:otherwise>
  3924.                             </xsl:choose>
  3925.                         </xsl:variable>
  3926.  
  3927.                         <xsl:variable name="title">
  3928.                             <xsl:choose>
  3929.                                 <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:NoTitle">
  3930.                                 </xsl:when>
  3931.                                 
  3932.                                 <xsl:otherwise>
  3933.                                     <xsl:value-of select="$title0" />
  3934.                                 </xsl:otherwise>
  3935.                             </xsl:choose>
  3936.                         </xsl:variable>
  3937.  
  3938.                         <xsl:variable name="year">
  3939.                             <xsl:choose>
  3940.                                 <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:NoYear">
  3941.                                 </xsl:when>
  3942.                                 
  3943.                                 <xsl:otherwise>
  3944.                                     <xsl:value-of select="$year0" />
  3945.                                 </xsl:otherwise>
  3946.                             </xsl:choose>
  3947.                         </xsl:variable>                        
  3948.  
  3949.                         <xsl:variable name="author">
  3950.                             <xsl:choose>
  3951.                                 <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:NoAuthor">
  3952.                                 </xsl:when>
  3953.                                 <xsl:otherwise>
  3954.                                     <xsl:value-of select="$author0" />
  3955.                                 </xsl:otherwise>
  3956.                             </xsl:choose>
  3957.                         </xsl:variable>
  3958.  
  3959.                         <xsl:variable name="prop_APA_Hyphens">
  3960.                           <xsl:call-template name="templ_prop_Hyphens"/>
  3961.                         </xsl:variable>
  3962.  
  3963.                         <xsl:variable name="volume" select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Volume"/>
  3964.  
  3965.                         <xsl:variable name="volVolume">
  3966.                             <xsl:if test="string-length($volume) > 0">
  3967.                                 <xsl:call-template name="StringFormat">
  3968.                                     <xsl:with-param name="format">
  3969.                                       <xsl:choose>
  3970.                                         <xsl:when test="not(string-length($volume)=string-length(translate($volume, ',', '')))">
  3971.                                           <xsl:call-template name="templ_str_VolumesShortUnCap"/>
  3972.                                         </xsl:when>
  3973.                                         <xsl:when test="string-length($volume)=string-length(translate($volume, $prop_APA_Hyphens, ''))">
  3974.                                           <xsl:call-template name="templ_str_VolumeShortUnCap"/>
  3975.                                         </xsl:when>
  3976.                                         <xsl:otherwise>
  3977.                                           <xsl:call-template name="templ_str_VolumesShortUnCap"/>
  3978.                                         </xsl:otherwise>
  3979.                                       </xsl:choose>
  3980.                                     </xsl:with-param>
  3981.                                     <xsl:with-param name="parameters">
  3982.                                         <t:params>
  3983.                                             <t:param>
  3984.                                                 <xsl:value-of select="$volume"/>
  3985.                                             </t:param>
  3986.                                         </t:params>
  3987.                                     </xsl:with-param>
  3988.                                 </xsl:call-template>
  3989.                             </xsl:if>
  3990.                         </xsl:variable>
  3991.  
  3992.  
  3993.                         <xsl:variable name="pages" select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Pages"/>
  3994.  
  3995.                         <xsl:variable name="ppPages">
  3996.                           <xsl:if test="string-length($pages)>0">
  3997.                             <xsl:choose>
  3998.                               <xsl:when test="not(string-length($pages)=string-length(translate($pages, ',', '')))">
  3999.                                 <xsl:call-template name="templ_str_PagesCountinousShort"/>
  4000.                               </xsl:when>
  4001.                               <xsl:when test="string-length($pages)=string-length(translate($pages, $prop_APA_Hyphens, ''))">
  4002.                                 <xsl:call-template name="templ_str_PageShort"/>
  4003.                               </xsl:when>
  4004.                               <xsl:otherwise>
  4005.                                 <xsl:call-template name="templ_str_PagesCountinousShort"/>
  4006.                               </xsl:otherwise>
  4007.                             </xsl:choose>
  4008.                             <xsl:call-template name="templ_prop_Space"/>
  4009.                             <xsl:value-of select="$pages"/>
  4010.                           </xsl:if>
  4011.                         </xsl:variable>
  4012.  
  4013.                         <xsl:variable name="displayAuthor">
  4014.                             <xsl:value-of select="$author" />
  4015.                         </xsl:variable>
  4016.  
  4017.                         <xsl:variable name="displayTitle">
  4018.                         </xsl:variable>
  4019.  
  4020.                         
  4021.                         <xsl:if test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:FirstAuthor">
  4022.                             <xsl:call-template name="templ_prop_OpenBracket"/>
  4023.                         </xsl:if>
  4024.                     
  4025.                         <xsl:if test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:PagePrefix">
  4026.                             <xsl:value-of select="/b:Citation/b:PagePrefix"/>
  4027.                         </xsl:if>
  4028.  
  4029.                         <xsl:value-of select="$displayAuthor" />
  4030.  
  4031.                         <xsl:if test="string-length($displayTitle) > 0">
  4032.                             <xsl:if test="string-length($displayAuthor) > 0">
  4033.                                 <xsl:call-template name="templ_prop_ListSeparator"/>
  4034.                             </xsl:if>
  4035.                             <xsl:value-of select="$displayTitle"/>
  4036.                         </xsl:if>
  4037.  
  4038.                         <xsl:if test="string-length($year) > 0">
  4039.                             <xsl:if test="string-length($displayAuthor) > 0 or string-length($displayTitle) > 0">
  4040.                                 <xsl:call-template name="templ_prop_ListSeparator"/>
  4041.                             </xsl:if>    
  4042.                             <xsl:value-of select="$year"/>
  4043.                         </xsl:if>
  4044.  
  4045.                         <xsl:if test="string-length($author0) = 0 and string-length($year0) = 0">
  4046.                             <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Tag"/>
  4047.                         </xsl:if>
  4048.  
  4049.                         <xsl:if test="string-length($volume) > 0 or string-length($pages) > 0">
  4050.                             <xsl:if test="string-length($displayAuthor) > 0 or string-length($displayTitle) > 0 or string-length($year) > 0">
  4051.                                 <xsl:call-template name="templ_prop_Space"/>
  4052.                             </xsl:if>            
  4053.  
  4054.                             <xsl:choose>
  4055.                                 <xsl:when test="string-length($volume) > 0 and string-length($pages) > 0">
  4056.                                     <xsl:value-of select="$volume"/>
  4057.                                     <xsl:call-template name="templ_prop_Enum"/>
  4058.                                     <xsl:value-of select="$pages"/>
  4059.                                 </xsl:when>
  4060.                                 <xsl:when test="string-length($volVolume) > 0">
  4061.                                     <xsl:value-of select="$volVolume"/>
  4062.                                 </xsl:when>
  4063.                                 <xsl:when test="string-length($ppPages) > 0">
  4064.                                     <xsl:value-of select="$ppPages"/>
  4065.                                 </xsl:when>
  4066.                             </xsl:choose>
  4067.                         </xsl:if>
  4068.  
  4069.                         <xsl:if test="/b:Citation/b:PageSuffix">
  4070.                             <xsl:value-of select="/b:Citation/b:PageSuffix"/>
  4071.                         </xsl:if>
  4072.                         
  4073.                         <xsl:if test="/b:Citation/b:LastAuthor">
  4074.                             <xsl:call-template name="templ_prop_CloseBracket"/>
  4075.                         </xsl:if>
  4076.                         <xsl:if test="not(/b:Citation/b:LastAuthor)">
  4077.                             <xsl:call-template name="templ_prop_GroupSeparator"/>
  4078.                         </xsl:if>
  4079.                     
  4080.  
  4081.                         </xsl:element>
  4082.                     </body>
  4083.                 </html>
  4084.             </xsl:when>
  4085.  
  4086.  
  4087.             <xsl:when test="b:Bibliography">
  4088.                 <html xmlns:o="urn:schemas-microsoft-com:office:office"
  4089.                         xmlns:w="urn:schemas-microsoft-com:office:word"
  4090.                         xmlns="http://www.w3.org/TR/REC-html40">
  4091.                     <head>
  4092.                         
  4093.                         <style>
  4094.                             p.MsoBibliography, li.MsoBibliography, div.MsoBibliography
  4095.                         </style>
  4096.                     </head>
  4097.  
  4098.                     <body>
  4099.                         
  4100.                         
  4101.                         <xsl:variable name="ListPopulatedWithMain">
  4102.                             <xsl:call-template name="populateMain">
  4103.                                 <xsl:with-param name="Type">b:Bibliography</xsl:with-param>
  4104.                             </xsl:call-template>
  4105.                         </xsl:variable>
  4106.  
  4107.                         
  4108.                         
  4109.                         <xsl:variable name="SortedList">
  4110.                             <xsl:call-template name="sortedList">
  4111.                                 <xsl:with-param name="sourceRoot">
  4112.                                     <xsl:copy-of select="$ListPopulatedWithMain"/>
  4113.                                 </xsl:with-param>
  4114.                                 
  4115.                             </xsl:call-template>
  4116.                         </xsl:variable>
  4117.  
  4118.                         
  4119.                         <xsl:for-each select="msxsl:node-set($SortedList)/b:Bibliography/b:Source">
  4120.                             <xsl:element name="p">
  4121.                                 <xsl:variable name="LCID">
  4122.                                   <xsl:choose>
  4123.                                     <xsl:when test="b:LCID='0' or b:LCID='' or not(b:LCID)">
  4124.                                       <xsl:value-of select="/*/b:Locals/b:DefaultLCID"/>
  4125.                                     </xsl:when>
  4126.                                     <xsl:otherwise>
  4127.                                       <xsl:value-of select="b:LCID"/>
  4128.                                     </xsl:otherwise>
  4129.                                   </xsl:choose>
  4130.                                 </xsl:variable>
  4131.                                 <xsl:attribute name="lang">
  4132.                                     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$LCID]/@Culture"/>
  4133.                                 </xsl:attribute>
  4134.                                 <xsl:attribute name="dir">
  4135.                                     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$LCID]/b:Properties/b:Direction"/>
  4136.                                 </xsl:attribute>
  4137.                                 <xsl:attribute name="class">
  4138.                                     <xsl:value-of select="'MsoBibliography'"/>
  4139.                                 </xsl:attribute>
  4140.                                 
  4141.                         
  4142.                             
  4143.  
  4144.                                 <xsl:variable name="prevBook">
  4145.                                     <xsl:value-of select="position()-1"/>
  4146.                                 </xsl:variable>
  4147.  
  4148.                                 <xsl:variable name="cMaxAllow">
  4149.                                     <xsl:call-template name="maxAuthor"/>
  4150.                                 </xsl:variable>
  4151.  
  4152.                                 
  4153.                                 
  4154.                                 <xsl:variable name ="NonEmptySectionsCount">
  4155.                                     <xsl:call-template name ="getNonEmptySectionsCount"/>
  4156.                                 </xsl:variable>
  4157.  
  4158.                                 
  4159.                                 <xsl:variable name ="SectionsCount">
  4160.                                     <xsl:call-template name="getSectionsCount"/>
  4161.                                 </xsl:variable>
  4162.  
  4163.                                 
  4164.                                 <xsl:variable name ="AllPersonsCount">
  4165.                                     <xsl:call-template name="getAllPersonsCount"/>
  4166.                                 </xsl:variable>
  4167.  
  4168.                                 
  4169.                                 <xsl:variable name ="EtAlSectionsCount">
  4170.                                     <xsl:call-template name="getEtAlSectionsCount"/>
  4171.                                 </xsl:variable>
  4172.  
  4173.  
  4174.                                 
  4175.  
  4176.                                 
  4177.                                 <xsl:variable name="Authors">
  4178.                                     <xsl:call-template name="formatAuthor"/>
  4179.                                 </xsl:variable>
  4180.  
  4181.                                 
  4182.                                 <xsl:variable name="Editors">
  4183.                                     <xsl:call-template name="formatEditor"/>
  4184.                                 </xsl:variable>
  4185.  
  4186.                                 
  4187.                                 <xsl:variable name="Translators">
  4188.                                     <xsl:call-template name="formatTranslator"/>
  4189.                                 </xsl:variable>
  4190.  
  4191.                                 <xsl:variable name = "Artists">
  4192.                                     <xsl:call-template name = "formatArtist"/>
  4193.                                 </xsl:variable>
  4194.  
  4195.                                 <xsl:variable name = "Composers">
  4196.                                     <xsl:call-template name ="formatComposer"/>
  4197.                                 </xsl:variable>
  4198.  
  4199.                                 <xsl:variable name ="Conductors">
  4200.                                     <xsl:call-template name="formatConductor"/>
  4201.                                 </xsl:variable>
  4202.  
  4203.                                 <xsl:variable name="Performers">
  4204.                                     <xsl:call-template name ="formatPerformer"/>
  4205.                                 </xsl:variable>
  4206.  
  4207.                                 <xsl:variable name="Writers">
  4208.                                     <xsl:call-template name ="formatWriter"/>
  4209.                                 </xsl:variable>
  4210.  
  4211.                                 <xsl:variable name ="Directors">
  4212.                                     <xsl:call-template name ="formatDirector"/>
  4213.                                 </xsl:variable>
  4214.  
  4215.                                 <xsl:variable name ="ProducerNames">
  4216.                                     <xsl:call-template name ="formatProducerName"/>
  4217.                                 </xsl:variable>
  4218.  
  4219.                                 <xsl:variable name ="Interviewees">
  4220.                                     <xsl:call-template name ="formatInterviewee"/>
  4221.                                 </xsl:variable>
  4222.  
  4223.                                 <xsl:variable name ="Compilers">
  4224.                                     <xsl:call-template name ="formatCompiler"/>
  4225.                                 </xsl:variable>
  4226.  
  4227.                                 <xsl:variable name ="Inventors">
  4228.                                     <xsl:call-template name ="formatInventor"/>
  4229.                                 </xsl:variable>
  4230.  
  4231.                                 <xsl:variable name="Reporters">
  4232.                                     <xsl:if test="string-length(b:Reporter)">
  4233.                                         <xsl:value-of select ="b:Reporter"/>
  4234.                                     </xsl:if>
  4235.                                 </xsl:variable>
  4236.  
  4237.                                 <xsl:variable name="Counsels">
  4238.                                     <xsl:call-template name="formatCounsel"/>
  4239.                                 </xsl:variable>
  4240.  
  4241.                                 <xsl:variable name ="BookMainAuthors">
  4242.                                     <xsl:if test="string-length(b:Author/b:BookAuthor/b:NameList/b:Person/b:Last)>0">
  4243.                                         
  4244.                                         <xsl:call-template name="templ_str_BookAuthorShortUnCap"/>
  4245.                                         <xsl:call-template name="templ_prop_Space" />
  4246.                                         <xsl:for-each select="b:Author/b:BookAuthor">
  4247.                                             <xsl:call-template name="formatPersons"/>
  4248.                                         </xsl:for-each>
  4249.                                     </xsl:if>
  4250.                                 </xsl:variable>
  4251.  
  4252.                                 <xsl:variable name="prop_APA_Hyphens2">
  4253.                                   <xsl:call-template name="templ_prop_Hyphens"/>
  4254.                                 </xsl:variable>
  4255.  
  4256.                                 <xsl:variable name="volume" select="b:Volume"/>
  4257.  
  4258.                                 <xsl:variable name="volVolume">
  4259.                                     <xsl:if test="string-length($volume) > 0">
  4260.                                         <xsl:call-template name="StringFormat">
  4261.                                             <xsl:with-param name="format">
  4262.                                               <xsl:choose>
  4263.                                                 <xsl:when test="not(string-length($volume)=string-length(translate($volume, ',', '')))">
  4264.                                                   <xsl:call-template name="templ_str_VolumesShortCap"/>
  4265.                                                 </xsl:when>
  4266.                                                 <xsl:when test="string-length($volume)=string-length(translate($volume, $prop_APA_Hyphens2, ''))">
  4267.                                                   <xsl:call-template name="templ_str_VolumeShortCap"/>
  4268.                                                 </xsl:when>
  4269.                                                 <xsl:otherwise>
  4270.                                                   <xsl:call-template name="templ_str_VolumesShortCap"/>
  4271.                                                 </xsl:otherwise>
  4272.                                               </xsl:choose>
  4273.                                             </xsl:with-param>
  4274.                                             <xsl:with-param name="parameters">
  4275.                                                 <t:params>
  4276.                                                     <t:param>
  4277.                                                         <xsl:value-of select="$volume"/>
  4278.                                                     </t:param>
  4279.                                                 </t:params>
  4280.                                             </xsl:with-param>
  4281.                                         </xsl:call-template>
  4282.                                     </xsl:if>
  4283.                                 </xsl:variable>
  4284.  
  4285.                                 
  4286.                                 <xsl:variable name ="CityPublisherYearHyphenSection">
  4287.                                     <xsl:call-template name ="formatHyphenSection">
  4288.                                         
  4289.                                         
  4290.                                         <xsl:with-param name ="FirstElement">
  4291.                                             <xsl:call-template name ="formatLocationElement">
  4292.                                                 
  4293.                                                 <xsl:with-param name ="Location" select="b:City"/>
  4294.                                                 <xsl:with-param name ="Publisher" select="b:Publisher"/>
  4295.                                             </xsl:call-template>
  4296.                                         </xsl:with-param>
  4297.                                         <xsl:with-param name ="SecondElement" select ="b:Year"/>
  4298.                                     </xsl:call-template>
  4299.                                 </xsl:variable>
  4300.  
  4301.                                 <xsl:variable name ="VolumeNumberVolumesHyphenSection">
  4302.                                     <xsl:call-template name ="formatHyphenSection">
  4303.                                         <xsl:with-param name ="FirstElement">
  4304.                                             <xsl:call-template name ="formatColonElement">
  4305.                                                 <xsl:with-param name ="FirstParam" select ="b:Edition"/>
  4306.                                                 <xsl:with-param name ="SecondParam" select ="$volVolume"/>
  4307.                                                 <xsl:with-param name ="ThirdParam" select ="b:NumberVolumes"/>
  4308.                                             </xsl:call-template>
  4309.                                         </xsl:with-param>
  4310.                                     </xsl:call-template>
  4311.                                 </xsl:variable>
  4312.  
  4313.                                 <xsl:variable name="prop_APA_Hyphens">
  4314.                                   <xsl:call-template name="templ_prop_Hyphens"/>
  4315.                                 </xsl:variable>
  4316.  
  4317.                                 <xsl:variable name="pages" select="b:Pages"/>
  4318.  
  4319.                                 <xsl:variable name ="Pages">
  4320.                                   <xsl:if test="string-length($pages)>0">
  4321.                                     <xsl:choose>
  4322.                                       <xsl:when test="not(string-length($pages)=string-length(translate($pages, ',', '')))">
  4323.                                         <xsl:call-template name="templ_str_PagesCountinousShort"/>
  4324.                                       </xsl:when>
  4325.                                       <xsl:when test="string-length($pages)=string-length(translate($pages, $prop_APA_Hyphens, ''))">
  4326.                                         <xsl:call-template name="templ_str_PageShort"/>
  4327.                                       </xsl:when>
  4328.                                       <xsl:otherwise>
  4329.                                         <xsl:call-template name="templ_str_PagesCountinousShort"/>
  4330.                                       </xsl:otherwise>
  4331.                                     </xsl:choose>
  4332.                                     <xsl:call-template name="templ_prop_Space"/>
  4333.                                     <xsl:value-of select="$pages"/>
  4334.                                   </xsl:if>
  4335.                                 </xsl:variable>
  4336.  
  4337.                                 <xsl:variable name ="EditionVolumeNumberVolumesPagesHyphenSection">
  4338.                                     <xsl:call-template name ="formatHyphenSection">
  4339.                                         <xsl:with-param name ="FirstElement">
  4340.                                             <xsl:call-template name ="formatColonElement">
  4341.                                                 <xsl:with-param name ="FirstParam" select ="b:Edition"/>
  4342.                                                 <xsl:with-param name ="SecondParam" select ="$volVolume"/>
  4343.                                                 <xsl:with-param name ="ThirdParam" select ="b:NumberVolumes"/>
  4344.                                                 <xsl:with-param name ="FourthParam" select ="$Pages"/>
  4345.                                             </xsl:call-template>
  4346.                                         </xsl:with-param>
  4347.                                     </xsl:call-template>
  4348.                                 </xsl:variable>
  4349.  
  4350.                                 <xsl:variable name ="CityPublisherDateMonthYearHyphenSection">
  4351.                                     <xsl:call-template name ="formatHyphenSection">
  4352.                                         <xsl:with-param name ="FirstElement">
  4353.                                             <xsl:call-template name ="formatLocationElement">
  4354.                                                 <xsl:with-param name ="Location" select="b:City"/>
  4355.                                                 <xsl:with-param name ="Publisher" select="b:Publisher"/>
  4356.                                             </xsl:call-template>
  4357.                                         </xsl:with-param>
  4358.                                         <xsl:with-param name ="SecondElement">
  4359.                                             <xsl:call-template name ="formatDateMonthYear"/>
  4360.                                         </xsl:with-param>
  4361.                                     </xsl:call-template>
  4362.                                 </xsl:variable>
  4363.  
  4364.                                 <xsl:variable name ="CityBroadcasterStationPublisherDateMonthYearHyphenSection">
  4365.                                     <xsl:call-template name ="formatHyphenSection">
  4366.                                         <xsl:with-param name ="FirstElement">
  4367.                                             <xsl:call-template name ="formatLocationElement">
  4368.                                                 <xsl:with-param name ="Location" select="b:City"/>
  4369.                                                 <xsl:with-param name ="Publisher">
  4370.                                                     <xsl:value-of select="b:Broadcaster"/>
  4371.                                                     <xsl:if test="string-length(b:Broadcaster)>0 and (string-length(b:Station)>0 or string-length(b:Publisher)>0)">
  4372.                             <xsl:call-template name="templ_prop_NonBreakingSpace"/>
  4373.                             <xsl:call-template name="templ_prop_GroupSeparator"/>                                                    
  4374.                                                     </xsl:if>
  4375.                                                     <xsl:value-of select="b:Station"/>
  4376.                                                     <xsl:if test="string-length(b:Station)>0 and string-length(b:Publisher)>0">
  4377.                             <xsl:call-template name="templ_prop_NonBreakingSpace"/>
  4378.                             <xsl:call-template name="templ_prop_GroupSeparator"/>                                                    
  4379.                                                     </xsl:if>
  4380.                                                     <xsl:value-of select="b:Publisher"/>
  4381.                                                 </xsl:with-param>
  4382.                                             </xsl:call-template>
  4383.                                         </xsl:with-param>
  4384.                                         <xsl:with-param name ="SecondElement">
  4385.                                             <xsl:call-template name ="formatDateMonthYear"/>
  4386.                                         </xsl:with-param>
  4387.                                     </xsl:call-template>
  4388.                                 </xsl:variable>
  4389.  
  4390.                                 <xsl:variable name ="IssueVolumeHyphenSection">
  4391.                                     <xsl:call-template name ="formatHyphenSection">
  4392.                                         <xsl:with-param name ="FirstElement">
  4393.                                             <xsl:call-template name ="formatColonElement">
  4394.                                                 <xsl:with-param name ="FirstParam" select ="b:Issue"/>
  4395.                                                 <xsl:with-param name ="SecondParam" select ="$volVolume"/>
  4396.                                             </xsl:call-template>
  4397.                                         </xsl:with-param>
  4398.                                     </xsl:call-template>
  4399.                                 </xsl:variable>
  4400.  
  4401.                                 <xsl:variable name ="PagesHyphenSection">
  4402.                                     <xsl:call-template name ="formatHyphenSection">
  4403.                                         <xsl:with-param name ="FirstElement" select ="$Pages"/>
  4404.                                     </xsl:call-template>
  4405.                                 </xsl:variable>
  4406.  
  4407.                                 <xsl:variable name ="InstitutionHyphenSection">
  4408.                                     <xsl:call-template name ="formatHyphenSection">
  4409.                                         <xsl:with-param name ="FirstElement" select ="b:Institution"/>
  4410.                                     </xsl:call-template>
  4411.                                 </xsl:variable>
  4412.  
  4413.                                 <xsl:variable name ="EditionHyphenSection">
  4414.                                     <xsl:call-template name ="formatHyphenSection">
  4415.                                         <xsl:with-param name ="FirstElement" select ="b:Edition"/>
  4416.                                     </xsl:call-template>
  4417.                                 </xsl:variable>
  4418.  
  4419.                                 <xsl:variable name ="VolumeHyphenSection">
  4420.                                     <xsl:call-template name ="formatHyphenSection">
  4421.                                         <xsl:with-param name ="FirstElement" select ="$volVolume"/>
  4422.                                     </xsl:call-template>
  4423.                                 </xsl:variable>
  4424.  
  4425.                                 <xsl:variable name ="CityInstitutionHyphenSection">
  4426.                                     <xsl:call-template name ="formatHyphenSection">
  4427.                                         <xsl:with-param name ="FirstElement">
  4428.                                             <xsl:call-template name ="formatLocationElement">
  4429.                                                 <xsl:with-param name ="Location" select="b:City"/>
  4430.                                                 <xsl:with-param name ="Publisher" select="b:Institution"/>
  4431.                                             </xsl:call-template>
  4432.                                         </xsl:with-param>
  4433.                                     </xsl:call-template>
  4434.                                 </xsl:variable>
  4435.  
  4436.                                 <xsl:variable name ="CityPublisherHyphenSection">
  4437.                                     <xsl:call-template name ="formatHyphenSection">
  4438.                                         <xsl:with-param name ="FirstElement">
  4439.                                             <xsl:call-template name ="formatLocationElement">
  4440.                                                 <xsl:with-param name ="Location" select="b:City"/>
  4441.                                                 <xsl:with-param name ="Publisher" select="b:Publisher"/>
  4442.                                             </xsl:call-template>
  4443.                                         </xsl:with-param>
  4444.                                     </xsl:call-template>
  4445.                                 </xsl:variable>
  4446.  
  4447.                                 <xsl:variable name ="CityProductionCompanyYearHyphenSection">
  4448.                                     <xsl:call-template name ="formatHyphenSection">
  4449.                                         <xsl:with-param name ="FirstElement">
  4450.                                             <xsl:call-template name ="formatLocationElement">
  4451.                                                 <xsl:with-param name ="Location" select="b:City"/>
  4452.                                                 <xsl:with-param name ="Publisher" select="b:ProductionCompany"/>
  4453.                                             </xsl:call-template>
  4454.                                         </xsl:with-param>
  4455.                                         <xsl:with-param name ="SecondElement" select ="b:Year"/>
  4456.                                     </xsl:call-template>
  4457.                                 </xsl:variable>
  4458.  
  4459.                                 <xsl:variable name ="TheaterCityProductionCompanyDateMonthYearHyphenSection">
  4460.                                     
  4461.                                     <xsl:variable name ='TheaterCity'>
  4462.                                         <xsl:value-of select ='b:Theater'/>
  4463.                                         <xsl:if test ='string-length(b:Theater)>0 and string-length(b:City)>0'>
  4464.                                             
  4465.                                             
  4466.                                             
  4467.                                             
  4468.                                             
  4469.                                             <xsl:value-of select="$constGost_TheaterCitySeparator"/>
  4470.                                         </xsl:if>
  4471.                                         <xsl:value-of select ='b:City'/>
  4472.                                     </xsl:variable>
  4473.  
  4474.                                     <xsl:call-template name ="formatHyphenSection">
  4475.                                         <xsl:with-param name ="FirstElement">
  4476.                                             <xsl:call-template name ="formatLocationElement">
  4477.                                                 <xsl:with-param name ="Location" select="$TheaterCity"/>
  4478.                                                 <xsl:with-param name ="Publisher" select="b:ProductionCompany"/>
  4479.                                             </xsl:call-template>
  4480.                                         </xsl:with-param>
  4481.                                         <xsl:with-param name ="SecondElement">
  4482.                                             <xsl:call-template name ="formatDateMonthYear"/>
  4483.                                         </xsl:with-param>
  4484.                                     </xsl:call-template>
  4485.                                 </xsl:variable>
  4486.  
  4487.                                 <xsl:variable name ="ProductionCompanyDateMonthYearHyphenSection">
  4488.                                     <xsl:call-template name ="formatHyphenSection">
  4489.                                         <xsl:with-param name ="FirstElement" select ="b:ProductionCompany"/>
  4490.                                         <xsl:with-param name ="SecondElement">
  4491.                                             <xsl:call-template name ="formatDateMonthYear"/>
  4492.                                         </xsl:with-param>
  4493.                                     </xsl:call-template>
  4494.                                 </xsl:variable>
  4495.  
  4496.                                 <xsl:variable name ="URLHyphenSection">
  4497.                                     <xsl:call-template name ="formatHyphenSection">
  4498.                                         <xsl:with-param name ="FirstElement" select ="b:URL"/>
  4499.                                     </xsl:call-template>
  4500.                                 </xsl:variable>
  4501.  
  4502.                                 <xsl:variable name ="VersionHyphenSection">
  4503.                                     <xsl:call-template name ="formatHyphenSection">
  4504.                                         <xsl:with-param name ="FirstElement" select ="b:Version"/>
  4505.                                     </xsl:call-template>
  4506.                                 </xsl:variable>
  4507.  
  4508.                                 <xsl:variable name ="DateMonthYearHyphenSection">
  4509.                                     <xsl:call-template name ="formatHyphenSection">
  4510.                                         <xsl:with-param name ="FirstElement">
  4511.                                             <xsl:call-template name ="formatDateMonthYear"/>
  4512.                                         </xsl:with-param>
  4513.                                     </xsl:call-template>
  4514.                                 </xsl:variable>
  4515.  
  4516.                                 <xsl:variable name ="SLProductionCompanyDistributorYearHyphenSection">
  4517.                                     <xsl:call-template name ="formatHyphenSection">
  4518.                                         <xsl:with-param name ="FirstElement">
  4519.                                             <xsl:call-template name ="formatLocationElement">
  4520.                                                 <xsl:with-param name ="Location">
  4521.                                                     
  4522.                                                     
  4523.                                                 </xsl:with-param>
  4524.                                                 
  4525.                                                 <xsl:with-param name ="Publisher" select ="b:ProductionCompany"/>
  4526.                                                 <xsl:with-param name ="Distributor" select="b:Distributor"/>
  4527.                                                 <xsl:with-param name ="noSL">yes</xsl:with-param>
  4528.                                             </xsl:call-template>
  4529.                                         </xsl:with-param>
  4530.                                         <xsl:with-param name ="SecondElement" select ="b:Year"/>
  4531.                                     </xsl:call-template>
  4532.                                 </xsl:variable>
  4533.  
  4534.  
  4535.                                 <xsl:variable name ="CountryRegionDateMonthYearHyphenSection">
  4536.                                     <xsl:call-template name ="formatHyphenSection">
  4537.                                         <xsl:with-param name ="FirstElement" select ="b:CountryRegion"/>
  4538.                                         <xsl:with-param name ="SecondElement">
  4539.                                             <xsl:call-template name ="formatDateMonthYear"></xsl:call-template>
  4540.                                         </xsl:with-param>
  4541.                                     </xsl:call-template>
  4542.                                 </xsl:variable>
  4543.  
  4544.                                 <xsl:variable name ="CityPublisherProductionCompanyDateMonthYearHyphenSection">
  4545.                                     
  4546.                                     <xsl:variable name ='PublisherProductionCompany'>
  4547.                                         <xsl:value-of select ='b:Publisher'/>
  4548.                                         <xsl:if test ='string-length(b:Publisher)>0 and string-length(b:ProductionCompany)>0'>
  4549.                                             
  4550.                                             
  4551.                                             
  4552.                                             
  4553.                                             
  4554.                                             <xsl:value-of select="$constGost_PublisherProductionCompanySeparator"/>
  4555.                                         </xsl:if>
  4556.                                         <xsl:value-of select ='b:ProductionCompany'/>
  4557.                                     </xsl:variable>
  4558.  
  4559.                                     <xsl:call-template name ="formatHyphenSection">
  4560.                                         <xsl:with-param name ="FirstElement">
  4561.                                             <xsl:call-template name ="formatLocationElement">
  4562.                                                 <xsl:with-param name ="Location" select ="b:City"/>
  4563.                                                 <xsl:with-param name ="Publisher" select ="$PublisherProductionCompany"/>
  4564.                                             </xsl:call-template>
  4565.                                         </xsl:with-param>
  4566.                                         <xsl:with-param name ="SecondElement">
  4567.                                             <xsl:call-template name ="formatDateMonthYear"></xsl:call-template>
  4568.                                         </xsl:with-param>
  4569.                                     </xsl:call-template>
  4570.                                 </xsl:variable>
  4571.  
  4572.                                 <xsl:variable name ="CityCourtDateMonthYearHyphenSection">
  4573.                                     <xsl:call-template name ="formatHyphenSection">
  4574.                                         <xsl:with-param name ="FirstElement">
  4575.                                             <xsl:call-template name ="formatLocationElement">
  4576.                                                 <xsl:with-param name ="Location" select ="b:City"/>
  4577.                                                 <xsl:with-param name ="Publisher" select ="b:Court"/>
  4578.                                             </xsl:call-template>
  4579.                                         </xsl:with-param>
  4580.                                         <xsl:with-param name ="SecondElement">
  4581.                                             <xsl:call-template name ="formatDateMonthYear"></xsl:call-template>
  4582.                                         </xsl:with-param>
  4583.                                     </xsl:call-template>
  4584.                                 </xsl:variable>
  4585.  
  4586.                                 <xsl:variable name ="DateMonthYearAccessedHyphenSection">
  4587.                                     <xsl:call-template name ="formatHyphenSection">
  4588.                                         <xsl:with-param name ="FirstElement">
  4589.                                             <xsl:call-template name ="formatDateMonthYearAccessed" />
  4590.                                         </xsl:with-param>
  4591.                                     </xsl:call-template>
  4592.                                 </xsl:variable>
  4593.  
  4594.                                 
  4595.  
  4596.                                 <xsl:variable name = "srcText">
  4597.  
  4598.  
  4599.  
  4600.                                 
  4601.                                 <b>
  4602.                                     <xsl:if test="string-length(b:TitlePrefix) > 0">
  4603.                                         <xsl:value-of select="b:TitlePrefix"/>
  4604.                                         
  4605.                                         <xsl:value-of select="$constGost_TitlePrefixTitleSeparator"/>
  4606.                                     </xsl:if>
  4607.                                     <xsl:value-of select="b:Title"/>
  4608.                                 </b>
  4609.  
  4610.                                 
  4611.                                 
  4612.                                 
  4613.                                 <xsl:variable name ="SourceType">
  4614.                                     <xsl:value-of select="b:SourceType"/>
  4615.                                 </xsl:variable>
  4616.  
  4617.                                 <xsl:choose>
  4618.                                     <xsl:when test="string-length($SourceType)=0">
  4619.                                     </xsl:when>
  4620.                                     <xsl:when test="b:SourceType='InternetSite' or b:SourceType='DocumentFromInternetSite'">
  4621.                                         <xsl:value-of select="$constGost_SourceTypeOpen"/>
  4622.                                         <xsl:call-template name="templ_str_OnlineCap"/>
  4623.                                         <xsl:value-of select="$constGost_SourceTypeClose"/>
  4624.                                     </xsl:when>
  4625.                                     <xsl:when test="b:SourceType='Misc' or b:SourceType='ElectronicSource' or b:SourceType='Film'">
  4626.                                         <xsl:if test="string-length(b:Medium) > 0">
  4627.                                             <xsl:value-of select="$constGost_SourceTypeOpen"/>
  4628.                                             <xsl:value-of select="b:Medium"/>
  4629.                                             <xsl:value-of select="$constGost_SourceTypeClose"/>
  4630.                                         </xsl:if>
  4631.                                     </xsl:when>
  4632.                                     <xsl:otherwise>
  4633.                                         <xsl:value-of select="$constGost_SourceTypeOpen"/>
  4634.                                         <xsl:value-of select="/b:Bibliography/b:Locals/b:Local[@LCID=$LCID]/b:SourceNames/*[local-name()=$SourceType]"/>
  4635.                                         <xsl:value-of select="$constGost_SourceTypeClose"/>
  4636.                                     </xsl:otherwise>
  4637.                                 </xsl:choose>
  4638.                                 
  4639.                                 
  4640.  
  4641.                 <xsl:if test = "b:SourceType='ElectronicSource' and string-length(b:PublicationTitle) >0">
  4642.                   
  4643.                   
  4644.                   
  4645.                   <xsl:value-of select="$constGost_ShortTitleHeader"/>
  4646.                   <xsl:value-of select="b:PublicationTitle" />
  4647.                 </xsl:if>
  4648.  
  4649.                                 <xsl:if test = "b:SourceType='Case' and string-length(b:Reporter) >0">
  4650.                                     <xsl:value-of select="$constGost_ShortTitleHeader"/>
  4651.                                     <xsl:value-of select="b:Reporter" />
  4652.                                 </xsl:if>
  4653.  
  4654.                 
  4655.                                 <xsl:if test = "string-length(b:ShortTitle) >0">
  4656.                                     
  4657.                                     
  4658.                                     
  4659.                                     <xsl:value-of select="$constGost_ShortTitleHeader"/>
  4660.                                     <xsl:value-of select="b:ShortTitle" />
  4661.                                 </xsl:if>
  4662.  
  4663.                                 
  4664.  
  4665.                                 
  4666.                                 <xsl:if test ="b:SourceType='Book'">
  4667.  
  4668.                                     <xsl:call-template name ="formatPrimaryResponsibilities">
  4669.                                         <xsl:with-param name ="FirstElement" select ="$Authors"/>
  4670.                                         <xsl:with-param name ="NonEmptyPrimSectionsCount">
  4671.                                             <xsl:call-template name ="getNonEmpty_Book_PrimSectionsCount"/>
  4672.                                         </xsl:with-param>
  4673.                                     </xsl:call-template>
  4674.  
  4675.                                     <xsl:call-template name ="formatSecondaryResponsibilities">
  4676.                                         <xsl:with-param name ="FirstElement" select ="$Editors"/>
  4677.                                         <xsl:with-param name ='SecondElement' select ='$Translators'/>
  4678.                                     </xsl:call-template>
  4679.  
  4680.                                     <xsl:value-of select ="$CityPublisherYearHyphenSection"/>
  4681.                                     <xsl:value-of select ="$EditionVolumeNumberVolumesPagesHyphenSection"/>
  4682.                                 </xsl:if>
  4683.                                 
  4684.  
  4685.                                 
  4686.                                 <xsl:if test ="b:SourceType='BookSection'">
  4687.                                     <xsl:call-template name ="formatPrimaryResponsibilities">
  4688.                                         <xsl:with-param name ="FirstElement" select ="$Authors"/>
  4689.                                         <xsl:with-param name ="NonEmptyPrimSectionsCount">
  4690.                                             <xsl:call-template name ="getNonEmpty_BookSection_PrimSectionsCount"/>
  4691.                                         </xsl:with-param>
  4692.                                     </xsl:call-template>
  4693.  
  4694.                                     <xsl:call-template name ="formatSecondaryResponsibilities">
  4695.                                         <xsl:with-param name ="CollectionName" select ="b:BookTitle"/>
  4696.                                         <xsl:with-param name ="FirstElement" select ="$BookMainAuthors"/>
  4697.                                         <xsl:with-param name ='SecondElement' select ='$Editors'/>
  4698.                                         <xsl:with-param name ='ThirdElement' select ='$Translators'/>
  4699.                                     </xsl:call-template>
  4700.  
  4701.                                     <xsl:value-of select ="$CityPublisherYearHyphenSection"/>
  4702.                                     <xsl:value-of select ="$VolumeNumberVolumesHyphenSection"/>
  4703.                                 </xsl:if>
  4704.  
  4705.                                 <xsl:if test ="b:SourceType='JournalArticle'">
  4706.  
  4707.  
  4708.                                     <xsl:call-template name ="formatPrimaryResponsibilities">
  4709.                                         <xsl:with-param name ="FirstElement" select ="$Authors"/>
  4710.                                         <xsl:with-param name ="NonEmptyPrimSectionsCount">
  4711.                                             <xsl:call-template name ="getNonEmpty_JournalArticle_PrimSectionsCount"/>
  4712.                                         </xsl:with-param>
  4713.                                     </xsl:call-template>
  4714.  
  4715.                                     <xsl:call-template name ="formatSecondaryResponsibilities">
  4716.                                         <xsl:with-param name ="CollectionName" select ="b:JournalName"/>
  4717.                                         <xsl:with-param name ="FirstElement" select ="$Editors"/>
  4718.                                     </xsl:call-template>
  4719.  
  4720.                                     <xsl:value-of select ="$CityPublisherDateMonthYearHyphenSection"/>
  4721.                                     <xsl:value-of select ="$IssueVolumeHyphenSection"/>
  4722.                                     <xsl:value-of select ="$PagesHyphenSection"/>
  4723.                                 </xsl:if>
  4724.  
  4725.  
  4726.                                 <xsl:if test ="b:SourceType='ArticleInAPeriodical'">
  4727.  
  4728.                                     <xsl:call-template name ="formatPrimaryResponsibilities">
  4729.                                         <xsl:with-param name ="FirstElement" select ="$Authors"/>
  4730.                                         <xsl:with-param name ="NonEmptyPrimSectionsCount">
  4731.                                             <xsl:call-template name ="getNonEmpty_ArticleInAPeriodical_PrimSectionsCount"/>
  4732.                                         </xsl:with-param>
  4733.                                     </xsl:call-template>
  4734.  
  4735.                                     <xsl:call-template name ="formatSecondaryResponsibilities">
  4736.                                         <xsl:with-param name ="CollectionName" select ="b:PeriodicalTitle"/>
  4737.                                         <xsl:with-param name ="FirstElement" select ="$Editors"/>
  4738.                                     </xsl:call-template>
  4739.  
  4740.                                     <xsl:value-of select ="$CityPublisherDateMonthYearHyphenSection"/>
  4741.                                     <xsl:value-of select ="$EditionHyphenSection"/>
  4742.                                     <xsl:value-of select ="$IssueVolumeHyphenSection"/>
  4743.                                     <xsl:value-of select ="$PagesHyphenSection"/>
  4744.                                 </xsl:if>
  4745.  
  4746.  
  4747.                                 <xsl:if test="b:SourceType='ConferenceProceedings'">
  4748.                                     <xsl:call-template name ="formatPrimaryResponsibilities">
  4749.                                         <xsl:with-param name ="FirstElement" select ="$Authors"/>
  4750.                                         <xsl:with-param name ="NonEmptyPrimSectionsCount">
  4751.                                             <xsl:call-template name ="getNonEmpty_ConferenceProceedings_PrimSectionsCount"/>
  4752.                                         </xsl:with-param>
  4753.                                     </xsl:call-template>
  4754.  
  4755.                                     <xsl:call-template name ="formatSecondaryResponsibilities">
  4756.                                         <xsl:with-param name ="CollectionName" select ="b:ConferenceName"/>
  4757.                                         <xsl:with-param name ="FirstElement" select ="$Editors"/>
  4758.                                     </xsl:call-template>
  4759.  
  4760.                                     <xsl:value-of select ="$CityPublisherYearHyphenSection"/>
  4761.                                     <xsl:value-of select ="$VolumeHyphenSection"/>
  4762.                                     <xsl:value-of select ="$PagesHyphenSection"/>
  4763.                                 </xsl:if>
  4764.  
  4765.  
  4766.                                 <xsl:if test="b:SourceType='Report'">
  4767.  
  4768.                                     <xsl:if test="string-length(b:ThesisType)>0">
  4769.                                         
  4770.                                         
  4771.                                         
  4772.                                         
  4773.                                         
  4774.                                         <xsl:value-of select="$constGost_ReportTypeHeader"/>
  4775.                                         <xsl:value-of select="b:ThesisType"/>
  4776.                                     </xsl:if>
  4777.  
  4778.                                     <xsl:call-template name ="formatPrimaryResponsibilities">
  4779.                                         <xsl:with-param name ="FirstElement" select ="$Authors"/>
  4780.                                         <xsl:with-param name ="NonEmptyPrimSectionsCount">
  4781.                                             <xsl:call-template name ="getNonEmpty_Report_PrimSectionsCount"/>
  4782.                                         </xsl:with-param>
  4783.                                     </xsl:call-template>
  4784.  
  4785.                                     <xsl:variable name = "DepartmentAndInstitution">
  4786.                                         <xsl:call-template name ="format_SemiColonSeparated_Items">
  4787.                                             <xsl:with-param name ="Item1" select ="b:Department"/>
  4788.                                             <xsl:with-param name ="Item2" select ="b:Institution"/>
  4789.                                         </xsl:call-template>
  4790.                                     </xsl:variable>
  4791.  
  4792.                                     <xsl:call-template name ="formatSecondaryResponsibilities">
  4793.                                         <xsl:with-param name ="FirstElement" select ="$DepartmentAndInstitution"/>
  4794.                                     </xsl:call-template>
  4795.  
  4796.                                     <xsl:value-of select ="$CityPublisherYearHyphenSection"/>
  4797.                                     <xsl:value-of select ="$PagesHyphenSection"/>
  4798.                                 </xsl:if>
  4799.  
  4800.  
  4801.                                 <xsl:if test="b:SourceType='SoundRecording'">
  4802.  
  4803.                                     <xsl:if test="string-length(b:Medium)>0">
  4804.                                         
  4805.                                         
  4806.                                         
  4807.                                         
  4808.                                         
  4809.                                         <xsl:value-of select="$constGost_SoundRecordingMediumHeader"/>
  4810.                                         <xsl:value-of select="b:Medium"/>
  4811.                                     </xsl:if>
  4812.  
  4813.                                     <xsl:call-template name ="formatPrimaryResponsibilities">
  4814.                                         <xsl:with-param name ="FirstElement" select ="$Artists"/>
  4815.                                         <xsl:with-param name ="SecondElement" select ="$Composers"/>
  4816.                                         <xsl:with-param name ="NonEmptyPrimSectionsCount">
  4817.                                             <xsl:call-template name ="getNonEmpty_SoundRecording_PrimSectionsCount"/>
  4818.                                         </xsl:with-param>
  4819.                                     </xsl:call-template>
  4820.  
  4821.                                     <xsl:call-template name ="formatSecondaryResponsibilities">
  4822.                                         <xsl:with-param name ="CollectionName" select ="b:AlbumTitle"/>
  4823.                                         <xsl:with-param name ="FirstElement" select ="$Conductors"/>
  4824.                                         <xsl:with-param name ='SecondElement' select ='$Performers'/>
  4825.                                         <xsl:with-param name ='ThirdElement' select ='$ProducerNames'/>
  4826.                                     </xsl:call-template>
  4827.  
  4828.                                     <xsl:value-of select ="$CityProductionCompanyYearHyphenSection"/>
  4829.                                 </xsl:if>
  4830.  
  4831.  
  4832.                                 <xsl:if test ="b:SourceType='Performance'">
  4833.                                     <xsl:call-template name ="formatPrimaryResponsibilities">
  4834.                                         <xsl:with-param name ="FirstElement" select ="$Writers"/>
  4835.                                         <xsl:with-param name ="SecondElement" select ="$Performers"/>
  4836.                                         <xsl:with-param name ="ThirdElement" select ="$Directors"/>
  4837.                                         <xsl:with-param name ="NonEmptyPrimSectionsCount">
  4838.                                             <xsl:call-template name ="getNonEmpty_Performance_PrimSectionsCount"/>
  4839.                                         </xsl:with-param>
  4840.                                     </xsl:call-template>
  4841.  
  4842.                                     <xsl:call-template name ="formatSecondaryResponsibilities">
  4843.                                         <xsl:with-param name ="FirstElement" select ="$ProducerNames"/>
  4844.                                     </xsl:call-template>
  4845.  
  4846.                                     <xsl:value-of select ="$TheaterCityProductionCompanyDateMonthYearHyphenSection"/>
  4847.                                 </xsl:if>
  4848.  
  4849.                                 <xsl:if test="b:SourceType='Art'">
  4850.                                     <xsl:call-template name ="formatPrimaryResponsibilities">
  4851.                                         <xsl:with-param name ="FirstElement" select ="$Artists"/>
  4852.                                         <xsl:with-param name ="NonEmptyPrimSectionsCount">
  4853.                                             <xsl:call-template name ="getNonEmpty_Art_PrimSectionsCount"/>
  4854.                                         </xsl:with-param>
  4855.                                     </xsl:call-template>
  4856.  
  4857.                                     <xsl:value-of select ="$CityInstitutionHyphenSection"/>
  4858.                                 </xsl:if>
  4859.  
  4860.                                 <xsl:if test="b:SourceType='DocumentFromInternetSite'">
  4861.                                     <xsl:call-template name ="formatPrimaryResponsibilities">
  4862.                                         <xsl:with-param name ="FirstElement" select ="$Authors"/>
  4863.                                         <xsl:with-param name ="NonEmptyPrimSectionsCount">
  4864.                                             <xsl:call-template name ="getNonEmpty_DocumentFromInternetSite_PrimSectionsCount"/>
  4865.                                         </xsl:with-param>
  4866.                                     </xsl:call-template>
  4867.  
  4868.                                     <xsl:call-template name ='formatSecondaryResponsibilities'>
  4869.                                         <xsl:with-param name ='CollectionName' select ='b:InternetSiteTitle'/>
  4870.                                         <xsl:with-param name ='FirstElement' select ='$Editors'/>
  4871.                                         <xsl:with-param name ='SecondElement' select ='$ProducerNames'/>
  4872.                                     </xsl:call-template>
  4873.                                     <xsl:value-of select ="$ProductionCompanyDateMonthYearHyphenSection"/>
  4874.                                     <xsl:value-of select ="$VersionHyphenSection"/>
  4875.                                     <xsl:value-of select ="$DateMonthYearAccessedHyphenSection"/>
  4876.                                     <xsl:value-of select ="$URLHyphenSection"/>
  4877.                                 </xsl:if>
  4878.  
  4879.                                 <xsl:if test ="b:SourceType = 'InternetSite'">
  4880.                                     <xsl:call-template name ="formatPrimaryResponsibilities">
  4881.                                         <xsl:with-param name ="FirstElement" select ="$Authors"/>
  4882.                                         <xsl:with-param name ="NonEmptyPrimSectionsCount">
  4883.                                             <xsl:call-template name ="getNonEmpty_InternetSite_PrimSectionsCount"/>
  4884.                                         </xsl:with-param>
  4885.                                     </xsl:call-template>
  4886.  
  4887.                                     <xsl:call-template name ='formatSecondaryResponsibilities'>
  4888.                                         <xsl:with-param name ='CollectionName' select ='b:InternetSiteTitle'/>
  4889.                                         <xsl:with-param name ="FirstElement" select ="$Editors"/>
  4890.                                         <xsl:with-param name ='SecondElement' select ='$ProducerNames'/>
  4891.                                     </xsl:call-template>
  4892.  
  4893.                                     <xsl:value-of select ="$ProductionCompanyDateMonthYearHyphenSection"/>
  4894.                                     <xsl:value-of select ="$DateMonthYearAccessedHyphenSection"/>
  4895.                                     <xsl:value-of select ="$URLHyphenSection"/>
  4896.                                 </xsl:if>
  4897.  
  4898.  
  4899.  
  4900.  
  4901.                                 <xsl:if test ="b:SourceType='Film'">
  4902.                                     <xsl:call-template name ="formatPrimaryResponsibilities">
  4903.                                         <xsl:with-param name ="FirstElement" select ="$Writers"/>
  4904.                                         <xsl:with-param name ="SecondElement" select ="$Performers"/>
  4905.                                         <xsl:with-param name ="ThirdElement" select ="$Directors"></xsl:with-param>
  4906.                                         <xsl:with-param name ="NonEmptyPrimSectionsCount">
  4907.                                             <xsl:call-template name ="getNonEmpty_Film_PrimSectionsCount"/>
  4908.                                         </xsl:with-param>
  4909.                                     </xsl:call-template>
  4910.  
  4911.                                     <xsl:call-template name ="formatSecondaryResponsibilities">
  4912.                                         <xsl:with-param name ="FirstElement" select ="$ProducerNames"/>
  4913.                                     </xsl:call-template>
  4914.  
  4915.                                     <xsl:value-of select ="$SLProductionCompanyDistributorYearHyphenSection"/>
  4916.                                 </xsl:if>
  4917.  
  4918.  
  4919.                                 
  4920.                                 <xsl:if test ="b:SourceType='Interview'">
  4921.                                     <xsl:call-template name ="formatSecondaryResponsibilities">
  4922.                     <xsl:with-param name ="FirstElement" select ="$Interviewees"/>
  4923.                     <xsl:with-param name ="SecondElement" select ="$Compilers"/>
  4924.                                         <xsl:with-param name ="ThirdElement" select ="$Editors"/>
  4925.                                         <xsl:with-param name ="FourthElement" select ="$Translators"/>
  4926.                                     </xsl:call-template>
  4927.  
  4928.                                     <xsl:value-of select="$CityBroadcasterStationPublisherDateMonthYearHyphenSection"/>
  4929.                                     <xsl:value-of select ="$PagesHyphenSection"/>
  4930.                                 </xsl:if>
  4931.  
  4932.  
  4933.                                 <xsl:if test ="b:SourceType='Patent'">
  4934.                                     <xsl:if test ="string-length(b:PatentNumber) >0">
  4935.                                         
  4936.                                         
  4937.                                         
  4938.                                         
  4939.                                         <xsl:value-of select="$constGost_PatentNumberHeader"/>
  4940.                                         <xsl:value-of select ="b:PatentNumber"/>
  4941.                                     </xsl:if>
  4942.                                     <xsl:if test ="string-length(b:Type) >0">
  4943.                                         
  4944.                                         
  4945.                                         
  4946.                                         
  4947.                                         
  4948.                                         <xsl:value-of select="$constGost_PatentTypeHeader"/>
  4949.                                         <xsl:value-of select ="b:Type"/>
  4950.                                     </xsl:if>
  4951.  
  4952.                                     <xsl:call-template name ="formatPrimaryResponsibilities">
  4953.                                         <xsl:with-param name ='FirstElement' select ='$Inventors'/>
  4954.                                         <xsl:with-param name ="NonEmptyPrimSectionsCount">
  4955.                                             <xsl:call-template name ="getNonEmpty_Patent_PrimSectionsCount"/>
  4956.                                         </xsl:with-param>
  4957.                                     </xsl:call-template>
  4958.  
  4959.                                     <xsl:call-template name ="formatSecondaryResponsibilities">
  4960.                                         <xsl:with-param name ="FirstElement" select ="$Editors"/>
  4961.                                         <xsl:with-param name ="SecondElement" select ="$Translators"/>
  4962.                                     </xsl:call-template>
  4963.  
  4964.                                     <xsl:value-of select ="$CountryRegionDateMonthYearHyphenSection"/>
  4965.                                 </xsl:if>
  4966.  
  4967.                                 <xsl:if test ="b:SourceType='ElectronicSource'">
  4968.                                     <xsl:call-template name ='formatPrimaryResponsibilities'>
  4969.                                         <xsl:with-param name ='FirstElement' select ='$Authors'/>
  4970.                                         <xsl:with-param name ="NonEmptyPrimSectionsCount">
  4971.                                             <xsl:call-template name ="getNonEmpty_ElectronicSource_PrimSectionsCount"/>
  4972.                                         </xsl:with-param>
  4973.                                     </xsl:call-template>
  4974.  
  4975.                                     <xsl:call-template name ='formatSecondaryResponsibilities'>
  4976.                     <xsl:with-param name ='FirstElement' select ='$Editors'/>
  4977.                     <xsl:with-param name ='SecondElement' select ='$ProducerNames'/>
  4978.                     <xsl:with-param name ='ThirdElement' select ='$Translators'/>
  4979.                   </xsl:call-template>
  4980.  
  4981.                                     <xsl:value-of select="$CityPublisherProductionCompanyDateMonthYearHyphenSection"/>
  4982.                                     <xsl:value-of select ="$EditionHyphenSection"/>
  4983.                                     <xsl:value-of select ="$VolumeHyphenSection"/>
  4984.                                 </xsl:if>
  4985.  
  4986.                                 <xsl:if test="b:SourceType='Case'">
  4987.                                     <xsl:if test ="string-length(b:CaseNumber) >0">
  4988.                                         
  4989.                                         
  4990.                                         
  4991.                                         
  4992.                                         
  4993.                                         <xsl:value-of select="$constGost_CaseNumberHeader"/>
  4994.                                         <xsl:value-of select ="b:CaseNumber"/>
  4995.                                     </xsl:if>
  4996.  
  4997.                                     <xsl:if test ="string-length(b:AbbreviatedCaseNumber) >0">
  4998.                                         
  4999.                                         
  5000.                                         
  5001.                                         
  5002.                                         
  5003.                                         <xsl:value-of select="$constGost_AbbreviatedCaseNumberHeader"/>
  5004.                                         <xsl:value-of select ="b:AbbreviatedCaseNumber"/>
  5005.                                     </xsl:if>
  5006.  
  5007.                                     <xsl:call-template name ='formatPrimaryResponsibilities'>
  5008.                                         <xsl:with-param name ='FirstElement' select ='$Authors'/>
  5009.                                         <xsl:with-param name ="NonEmptyPrimSectionsCount">
  5010.                                             <xsl:call-template name ="getNonEmpty_Case_PrimSectionsCount"/>
  5011.                                         </xsl:with-param>
  5012.                                     </xsl:call-template>
  5013.  
  5014.                                     <xsl:call-template name ='formatSecondaryResponsibilities'>
  5015.                                         <xsl:with-param name ='FirstElement' select ='$Counsels'/>
  5016.                                     </xsl:call-template>
  5017.  
  5018.                                     <xsl:value-of select ="$CityCourtDateMonthYearHyphenSection"/>
  5019.                                 </xsl:if>
  5020.  
  5021.  
  5022.                                 <xsl:if test="b:SourceType='Misc'">
  5023.                                     <xsl:call-template name ='formatPrimaryResponsibilities'>
  5024.                                         <xsl:with-param name ='FirstElement' select ='$Authors'/>
  5025.                                         <xsl:with-param name ="NonEmptyPrimSectionsCount">
  5026.                                             <xsl:call-template name ="getNonEmpty_Misc_PrimSectionsCount"/>
  5027.                                         </xsl:with-param>
  5028.                                     </xsl:call-template>
  5029.  
  5030.                                     <xsl:call-template name ='formatSecondaryResponsibilities'>
  5031.                                         <xsl:with-param name ='CollectionName' select ='b:PublicationTitle'/>
  5032.                                         <xsl:with-param name ='FirstElement' select ='$Compilers'/>
  5033.                                         <xsl:with-param name ="SecondElement" select ="$Editors"/>
  5034.                                         <xsl:with-param name ='ThirdElement' select ='$Translators'/>
  5035.                                     </xsl:call-template>
  5036.  
  5037.                                     <xsl:value-of select ="$CityPublisherDateMonthYearHyphenSection"/>
  5038.                                     <xsl:value-of select ="$EditionHyphenSection"/>
  5039.                                     <xsl:value-of select ="$VolumeHyphenSection"/>
  5040.                                     <xsl:value-of select ="$PagesHyphenSection"/>
  5041.                                 </xsl:if>
  5042.  
  5043.                                 
  5044.                                 <xsl:call-template name ="formatHyphenSection">
  5045.                                     <xsl:with-param name ="FirstElement" select ="b:Comments"/>
  5046.                                 </xsl:call-template>
  5047.                                 
  5048.                                 <xsl:call-template name ="formatHyphenSection">
  5049.                                     <xsl:with-param name ="FirstElement" select ="b:StandardNumber"/>
  5050.                                 </xsl:call-template>
  5051.  
  5052.                                 </xsl:variable>
  5053.  
  5054.                                 <xsl:if test = "string-length(normalize-space($srcText)) > 0">
  5055.                                     <xsl:copy-of select = "$srcText" />
  5056.                                     <xsl:call-template name="templ_prop_Dot"/>
  5057.                                 </xsl:if>
  5058.                             </xsl:element>
  5059.                         </xsl:for-each>
  5060.                     </body>
  5061.                 </html>
  5062.             </xsl:when>
  5063.         </xsl:choose>
  5064.     </xsl:template>
  5065.  
  5066.     
  5067.  
  5068.  
  5069.  
  5070.  
  5071.  
  5072.     
  5073.     
  5074.     
  5075.     
  5076.     <xsl:template name="MainContributors">
  5077.         <xsl:param name="SourceRoot"/>
  5078.         <xsl:choose>
  5079.             <xsl:when test="./b:SourceType='Book'">
  5080.                 <xsl:choose>
  5081.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  5082.                     <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  5083.                     <xsl:when test="string-length(./b:Author/b:Translator)>0">Translator</xsl:when>
  5084.                 </xsl:choose>
  5085.             </xsl:when>
  5086.  
  5087.             <xsl:when test="./b:SourceType='BookSection'">
  5088.                 <xsl:choose>
  5089.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  5090.                 </xsl:choose>
  5091.             </xsl:when>
  5092.  
  5093.             <xsl:when test="./b:SourceType='JournalArticle'">
  5094.                 <xsl:choose>
  5095.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  5096.                     <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  5097.                 </xsl:choose>
  5098.             </xsl:when>
  5099.  
  5100.             <xsl:when test="./b:SourceType='ArticleInAPeriodical'">
  5101.                 <xsl:choose>
  5102.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  5103.                 </xsl:choose>
  5104.             </xsl:when>
  5105.  
  5106.             <xsl:when test="./b:SourceType='ConferenceProceedings'">
  5107.                 <xsl:choose>
  5108.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  5109.                 </xsl:choose>
  5110.             </xsl:when>
  5111.  
  5112.             <xsl:when test="./b:SourceType='Report'">
  5113.                 <xsl:choose>
  5114.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  5115.                 </xsl:choose>
  5116.             </xsl:when>
  5117.  
  5118.             <xsl:when test="./b:SourceType='SoundRecording'">
  5119.                 <xsl:choose>
  5120.                     <xsl:when test="string-length(./b:Author/b:Artist)>0">Artist</xsl:when>
  5121.                     <xsl:when test="string-length(./b:Author/b:Performer)>0">Performer</xsl:when>
  5122.                     <xsl:when test="string-length(./b:Author/b:Composer)>0">Composer</xsl:when>
  5123.                     <xsl:when test="string-length(./b:Author/b:Conductor)>0">Conductor</xsl:when>
  5124.                     <xsl:when test="string-length(./b:Author/b:ProducerName)>0">ProducerName</xsl:when>
  5125.                 </xsl:choose>
  5126.             </xsl:when>
  5127.  
  5128.             <xsl:when test="./b:SourceType='Performance'">
  5129.                 <xsl:choose>
  5130.                     <xsl:when test="string-length(./b:Author/b:Writer)>0">Writer</xsl:when>
  5131.                     <xsl:when test="string-length(./b:Author/b:Director)>0">Director</xsl:when>
  5132.                     <xsl:when test="string-length(./b:Author/b:Performer)>0">Performer</xsl:when>
  5133.                     <xsl:when test="string-length(./b:Author/b:ProducerName)>0">ProducerName</xsl:when>
  5134.                 </xsl:choose>
  5135.             </xsl:when>
  5136.  
  5137.             <xsl:when test="./b:SourceType='Art'">
  5138.                 <xsl:choose>
  5139.                     <xsl:when test="string-length(./b:Author/b:Artist)>0">Artist</xsl:when>
  5140.                 </xsl:choose>
  5141.             </xsl:when>
  5142.  
  5143.             <xsl:when test="./b:SourceType='DocumentFromInternetSite'">
  5144.                 <xsl:choose>
  5145.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  5146.                 </xsl:choose>
  5147.             </xsl:when>
  5148.  
  5149.             <xsl:when test="./b:SourceType='InternetSite'">
  5150.                 <xsl:choose>
  5151.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  5152.                 </xsl:choose>
  5153.             </xsl:when>
  5154.  
  5155.             <xsl:when test="./b:SourceType='Film'">
  5156.                 <xsl:choose>
  5157.                     <xsl:when test="string-length(./b:Author/b:Director)>0">Director</xsl:when>
  5158.                     <xsl:when test="string-length(./b:Author/b:Writer)>0">Writer</xsl:when>
  5159.                     <xsl:when test="string-length(./b:Author/b:Performer)>0">Performer</xsl:when>
  5160.                     <xsl:when test="string-length(./b:Author/b:ProducerName)>0">ProducerName</xsl:when>
  5161.                 </xsl:choose>
  5162.             </xsl:when>
  5163.  
  5164.             <xsl:when test="./b:SourceType='Interview'">
  5165.                 <xsl:choose>
  5166.                     <xsl:when test="string-length(./b:Author/b:Interviewee)>0">Interviewee</xsl:when>
  5167.                 </xsl:choose>
  5168.             </xsl:when>
  5169.  
  5170.             <xsl:when test="./b:SourceType='Patent'">
  5171.                 <xsl:choose>
  5172.                     <xsl:when test="string-length(./b:Author/b:Inventor)>0">Inventor</xsl:when>
  5173.                 </xsl:choose>
  5174.             </xsl:when>
  5175.  
  5176.             <xsl:when test="./b:SourceType='ElectronicSource'">
  5177.                 <xsl:choose>
  5178.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  5179.                     <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  5180.                     <xsl:when test="string-length(./b:Author/b:ProducerName)>0">ProducerName</xsl:when>
  5181.                     <xsl:when test="string-length(./b:Author/b:Translator)>0">Translator</xsl:when>
  5182.                 </xsl:choose>
  5183.             </xsl:when>
  5184.  
  5185.             <xsl:when test="./b:SourceType='Case'">
  5186.                 <xsl:choose>
  5187.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  5188.                     <xsl:when test="string-length(./b:Author/b:Counsel)>0">Counsel</xsl:when>
  5189.                 </xsl:choose>
  5190.             </xsl:when>
  5191.  
  5192.             <xsl:when test="./b:SourceType='Misc'">
  5193.                 <xsl:choose>
  5194.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  5195.                     <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  5196.                     <xsl:when test="string-length(./b:Author/b:Compiler)>0">Compiler</xsl:when>
  5197.                     <xsl:when test="string-length(./b:Author/b:Translator)>0">Translator</xsl:when>
  5198.                 </xsl:choose>
  5199.             </xsl:when>
  5200.         </xsl:choose>
  5201.     </xsl:template>
  5202.  
  5203.     
  5204.     <xsl:template name="sortedList">
  5205.         <xsl:param name="sourceRoot"/>
  5206.         
  5207.         <xsl:apply-templates select="msxsl:node-set($sourceRoot)/*">
  5208.             
  5209.             <xsl:sort select="b:Title" />
  5210.             
  5211.             <xsl:sort select="b:Author/b:Main/b:NameList/b:Person[1]/b:Last" />
  5212.             
  5213.             <xsl:sort select="b:Author/b:Main/b:NameList/b:Person[1]/b:First" />
  5214.             
  5215.             <xsl:sort select="b:Author/b:Main/b:NameList/b:Person[1]/b:Middle"/>
  5216.             
  5217.         </xsl:apply-templates>
  5218.         
  5219.     </xsl:template>
  5220.  
  5221.     
  5222.     <xsl:template match="*">
  5223.         <xsl:element name="{name()}" namespace="{namespace-uri()}">
  5224.             
  5225.             <xsl:for-each select="@*">
  5226.                 <xsl:attribute name="{name()}" namespace="{namespace-uri()}">
  5227.                     
  5228.                     <xsl:value-of select="." />
  5229.                 </xsl:attribute>
  5230.             </xsl:for-each>
  5231.             <xsl:apply-templates>
  5232.                 
  5233.                 <xsl:sort select="b:Title" />
  5234.                 
  5235.                 <xsl:sort select="b:Author/b:Main/b:NameList/b:Person[1]/b:Last" />
  5236.                 <xsl:sort select="b:Author/b:Main/b:NameList/b:Person[1]/b:First" />
  5237.                 <xsl:sort select="b:Author/b:Main/b:NameList/b:Person[1]/b:Middle"/>
  5238.             </xsl:apply-templates>
  5239.         </xsl:element>
  5240.     </xsl:template>
  5241.  
  5242.     <xsl:template match="text()">
  5243.         <xsl:value-of select="." />
  5244.     </xsl:template>
  5245.  
  5246.     <xsl:template name="maxAuthor">
  5247.         <xsl:choose>
  5248.             <xsl:when test="count(b:NameList/b:Person) > _MaxAuthor">
  5249.                 <xsl:value-of select="_MaxAuthor"/>
  5250.             </xsl:when>
  5251.             <xsl:otherwise>
  5252.                 <xsl:value-of select="count(b:NameList/b:Person)"/>
  5253.             </xsl:otherwise>
  5254.         </xsl:choose>
  5255.     </xsl:template>
  5256.  
  5257.     <xsl:template name="formatLastFirst">
  5258.         <xsl:call-template name="formatNameCore">
  5259.             <xsl:with-param name="FML"><xsl:call-template name="templ_prop_Gost_Authors_FML"/></xsl:with-param>
  5260.             <xsl:with-param name="FM"><xsl:call-template name="templ_prop_Gost_Authors_FM"/></xsl:with-param>
  5261.             <xsl:with-param name="ML"><xsl:call-template name="templ_prop_Gost_Authors_ML"/></xsl:with-param>
  5262.             <xsl:with-param name="FL"><xsl:call-template name="templ_prop_Gost_Authors_FL"/></xsl:with-param>
  5263.             <xsl:with-param name="upperLast">no</xsl:with-param>
  5264.             <xsl:with-param name="withDot">no</xsl:with-param>
  5265.         </xsl:call-template>
  5266.     </xsl:template>
  5267.  
  5268.     
  5269.     <xsl:template name="formatPersonSeparator">
  5270.         <xsl:variable name="cMaxAuthor">
  5271.             <xsl:value-of select="count(../b:Person)"/>
  5272.         </xsl:variable>
  5273.  
  5274.         <xsl:variable name="cMaxAllow">
  5275.             
  5276.             <xsl:choose>
  5277.                 <xsl:when test="$cMaxAuthor > ../b:_MaxAuthor and ../b:_MaxAuthor > 0">
  5278.                     <xsl:value-of select="../b:_MaxAuthor"/>
  5279.                 </xsl:when>
  5280.                 <xsl:otherwise>
  5281.                     <xsl:value-of select="$cMaxAuthor"/>
  5282.                 </xsl:otherwise>
  5283.             </xsl:choose>
  5284.         </xsl:variable>
  5285.  
  5286.         <xsl:choose>
  5287.             <xsl:when test="$cMaxAuthor > 3">
  5288.                 
  5289.                 
  5290.                 <xsl:value-of select="$constGost_PersonAndOther"/>
  5291.             </xsl:when>
  5292.             <xsl:when test="$cMaxAllow - 1 > position()">
  5293.                 
  5294.                 
  5295.                 <xsl:value-of select="$constGost_PersonSeparator"/>
  5296.             </xsl:when>
  5297.             <xsl:when test="position() = $cMaxAuthor - 1">
  5298.                 <xsl:variable name="noAndBeforeLastAuthor">
  5299.                     <xsl:call-template name="templ_prop_NoAndBeforeLastAuthor"/>
  5300.                 </xsl:variable>
  5301.  
  5302.                 <xsl:if test="$noAndBeforeLastAuthor != 'yes'">
  5303.                     <xsl:call-template name="templ_prop_Space"/>
  5304.                     <xsl:call-template name="templ_str_AndUnCap"/>
  5305.                     <xsl:call-template name="templ_prop_Space"/>
  5306.                 </xsl:if>
  5307.                 <xsl:if test="$noAndBeforeLastAuthor = 'yes'">
  5308.                     <xsl:call-template name="templ_prop_AuthorsSeparator"/>
  5309.                 </xsl:if>
  5310.                 
  5311.                 
  5312.             </xsl:when>
  5313.         </xsl:choose>
  5314.  
  5315.     </xsl:template>
  5316.  
  5317.     
  5318.     <xsl:template name="formatPersons">
  5319.         <xsl:variable name="cMaxAllow">
  5320.             <xsl:call-template name="maxAuthor"/>
  5321.         </xsl:variable>
  5322.  
  5323.         <xsl:variable name ="cIsEtAl">
  5324.             <xsl:choose>
  5325.                 <xsl:when test ="count(b:NameList/b:Person[4]) >0">
  5326.                     <xsl:value-of select="1"/>
  5327.                 </xsl:when>
  5328.                 <xsl:otherwise>
  5329.                     <xsl:value-of select = "0"/>
  5330.                 </xsl:otherwise>
  5331.             </xsl:choose>
  5332.         </xsl:variable>
  5333.         <xsl:variable name="cEtAlPosition">
  5334.             <xsl:value-of select ="1"/>
  5335.         </xsl:variable>
  5336.  
  5337.         <xsl:if test="string-length(b:Corporate)=0">
  5338.             <xsl:for-each select="b:NameList/b:Person">
  5339.                 <xsl:variable name="cMaxAuthor">
  5340.                     <xsl:value-of select="count(../b:NameList/b:Person)"/>
  5341.                 </xsl:variable>
  5342.  
  5343.                 <xsl:if test="($cIsEtAl = '0' and $cMaxAllow >= position()) or ($cIsEtAl = '1' and not (position()>$cEtAlPosition)) ">
  5344.                     <xsl:call-template name="formatLastFirst"/>
  5345.                     <xsl:call-template name="formatPersonSeparator"/>
  5346.                     
  5347.                 </xsl:if>
  5348.             </xsl:for-each>
  5349.         </xsl:if>
  5350.         <xsl:if test="string-length(b:Corporate)>0">
  5351.               <xsl:value-of select="b:Corporate"/>
  5352.         </xsl:if>
  5353.     </xsl:template>
  5354.  
  5355.     
  5356.  
  5357.     
  5358.     <xsl:template name="formatAuthor">
  5359.         <xsl:if test="string-length(b:Author/b:Main/b:Corporate)=0">
  5360.             <xsl:if test ="count(b:Author/b:Author/b:NameList/b:Person) >0">
  5361.                 <xsl:call-template name="templ_str_AuthorShortUnCap"/><xsl:call-template name="templ_prop_Space"/>
  5362.                 <xsl:for-each select="b:Author/b:Author">
  5363.                     <xsl:call-template name="formatPersons"/>
  5364.                 </xsl:for-each>
  5365.             </xsl:if>
  5366.         </xsl:if>
  5367.         <xsl:if test="string-length(b:Author/b:Main/b:Corporate)>0">
  5368.               <xsl:call-template name="templ_str_AuthorShortUnCap"/><xsl:call-template name="templ_prop_Space"/>
  5369.               <xsl:value-of select="b:Author/b:Main/b:Corporate"/>
  5370.         </xsl:if>
  5371.     </xsl:template>
  5372.  
  5373.     <xsl:template name="formatEditor">
  5374.         <xsl:if test="string-length(b:Author/b:Editor/b:NameList/b:Person/b:Last) > 0">
  5375.             <xsl:call-template name="templ_str_EditorShortUnCap"/><xsl:call-template name="templ_prop_Space"/>
  5376.             <xsl:for-each select="b:Author/b:Editor">
  5377.                 <xsl:call-template name="formatPersons"/>
  5378.             </xsl:for-each>
  5379.         </xsl:if>
  5380.     </xsl:template>
  5381.  
  5382.     <xsl:template name="formatTranslator">
  5383.         <xsl:if test="string-length(b:Author/b:Translator/b:NameList/b:Person/b:Last) > 0">
  5384.             <xsl:call-template name="templ_str_TranslatorShortUnCap"/><xsl:call-template name="templ_prop_Space"/>
  5385.             <xsl:for-each select="b:Author/b:Translator">
  5386.                 <xsl:call-template name="formatPersons"/>
  5387.             </xsl:for-each>
  5388.         </xsl:if>
  5389.     </xsl:template>
  5390.  
  5391.     <xsl:template name="formatArtist">
  5392.         <xsl:if test="string-length(b:Author/b:Artist/b:NameList/b:Person/b:Last) > 0">
  5393.             <xsl:call-template name="templ_str_ArtistShortUnCap"/><xsl:call-template name="templ_prop_Space"/>
  5394.             <xsl:for-each select="b:Author/b:Artist">
  5395.                 <xsl:call-template name="formatPersons"/>
  5396.             </xsl:for-each>
  5397.         </xsl:if>
  5398.     </xsl:template>
  5399.  
  5400.     <xsl:template name="formatWriter">
  5401.         <xsl:if test="string-length(b:Author/b:Writer/b:NameList/b:Person/b:Last) > 0">
  5402.             <xsl:call-template name="templ_str_WriterShortUnCap"/><xsl:call-template name="templ_prop_Space"/>
  5403.             <xsl:for-each select="b:Author/b:Writer">
  5404.                 <xsl:call-template name="formatPersons"/>
  5405.             </xsl:for-each>
  5406.         </xsl:if>
  5407.     </xsl:template>
  5408.  
  5409.     <xsl:template name="formatPerformer">
  5410.         <xsl:if test="string-length(b:Author/b:Performer/b:Corporate)=0">
  5411.             <xsl:if test="string-length(b:Author/b:Performer/b:NameList/b:Person/b:Last) > 0">
  5412.                 <xsl:call-template name="templ_str_PerformerShortUnCap"/><xsl:call-template name="templ_prop_Space"/>
  5413.                 <xsl:for-each select="b:Author/b:Performer">
  5414.                     <xsl:call-template name="formatPersons"/>
  5415.                 </xsl:for-each>
  5416.             </xsl:if>
  5417.         </xsl:if>
  5418.         <xsl:if test="string-length(b:Author/b:Performer/b:Corporate)>0">
  5419.             <xsl:call-template name="templ_str_PerformerShortUnCap"/><xsl:call-template name="templ_prop_Space"/>
  5420.             <xsl:value-of select="b:Author/b:Performer/b:Corporate"/>
  5421.         </xsl:if>            
  5422.     </xsl:template>
  5423.  
  5424.  
  5425.     <xsl:template name="formatDirector">
  5426.         <xsl:if test="string-length(b:Author/b:Director/b:NameList/b:Person/b:Last) > 0">
  5427.             <xsl:call-template name="templ_str_DirectorShortUnCap"/><xsl:call-template name="templ_prop_Space"/>
  5428.             <xsl:for-each select="b:Author/b:Director">
  5429.                 <xsl:call-template name="formatPersons"/>
  5430.             </xsl:for-each>
  5431.         </xsl:if>
  5432.     </xsl:template>
  5433.  
  5434.  
  5435.  
  5436.     <xsl:template name="formatInterviewee">
  5437.         <xsl:if test="string-length(b:Author/b:Interviewee/b:NameList/b:Person/b:Last) > 0">
  5438.             <xsl:call-template name="templ_str_IntervieweeShortUnCap"/><xsl:call-template name="templ_prop_Space"/>
  5439.             <xsl:for-each select="b:Author/b:Interviewee">
  5440.                 <xsl:call-template name="formatPersons"/>
  5441.             </xsl:for-each>
  5442.         </xsl:if>
  5443.     </xsl:template>
  5444.  
  5445.     <xsl:template name="formatProducerName">
  5446.         <xsl:if test="string-length(b:Author/b:ProducerName/b:NameList/b:Person/b:Last) > 0">
  5447.             <xsl:call-template name="templ_str_ProducerShortUnCap"/><xsl:call-template name="templ_prop_Space"/>
  5448.             <xsl:for-each select="b:Author/b:ProducerName">
  5449.                 <xsl:call-template name="formatPersons"/>
  5450.             </xsl:for-each>
  5451.         </xsl:if>
  5452.     </xsl:template>
  5453.  
  5454.  
  5455.     <xsl:template name="formatConductor">
  5456.         <xsl:if test="string-length(b:Author/b:Conductor/b:NameList/b:Person/b:Last) > 0">
  5457.             <xsl:call-template name="templ_str_ConductorShortUnCap"/><xsl:call-template name="templ_prop_Space"/>
  5458.             <xsl:for-each select="b:Author/b:Conductor">
  5459.                 <xsl:call-template name="formatPersons"/>
  5460.             </xsl:for-each>
  5461.         </xsl:if>
  5462.     </xsl:template>
  5463.  
  5464.     <xsl:template name="formatComposer">
  5465.         <xsl:if test="string-length(b:Author/b:Composer/b:NameList/b:Person/b:Last) > 0">
  5466.             <xsl:call-template name="templ_str_ComposerShortUnCapIso"/><xsl:call-template name="templ_prop_Space"/>
  5467.             <xsl:for-each select="b:Author/b:Composer">
  5468.                 <xsl:call-template name="formatPersons"/>
  5469.             </xsl:for-each>
  5470.         </xsl:if>
  5471.     </xsl:template>
  5472.  
  5473.  
  5474.  
  5475.     <xsl:template name="formatCompiler">
  5476.         <xsl:if test="string-length(b:Author/b:Compiler/b:NameList/b:Person/b:Last) > 0">
  5477.             <xsl:call-template name="templ_str_CompilerShortUnCapIso"/><xsl:call-template name="templ_prop_Space"/>
  5478.             <xsl:for-each select="b:Author/b:Compiler">
  5479.                 <xsl:call-template name="formatPersons"/>
  5480.             </xsl:for-each>
  5481.         </xsl:if>
  5482.     </xsl:template>
  5483.  
  5484.     <xsl:template name ="formatCounsel">
  5485.         <xsl:if test="string-length(b:Author/b:Counsel/b:NameList/b:Person/b:Last)>0">
  5486.             <xsl:call-template name="templ_str_CounselShortUnCap"/><xsl:call-template name="templ_prop_Space"/>
  5487.             <xsl:for-each select="b:Author/b:Counsel">
  5488.                 <xsl:call-template name="formatPersons"/>
  5489.             </xsl:for-each>
  5490.         </xsl:if>
  5491.     </xsl:template>
  5492.  
  5493.     <xsl:template name ="formatInventor">
  5494.         <xsl:if test="string-length(b:Author/b:Inventor/b:NameList/b:Person/b:Last)>0">
  5495.             <xsl:call-template name="templ_str_InventorShortUnCap"/><xsl:call-template name="templ_prop_Space"/>
  5496.             <xsl:for-each select="b:Author/b:Inventor">
  5497.                 <xsl:call-template name="formatPersons"/>
  5498.             </xsl:for-each>
  5499.         </xsl:if>
  5500.     </xsl:template>
  5501.  
  5502.     
  5503.     <xsl:template name ="getEtAlSectionsCount">
  5504.         <xsl:value-of select="count(b:Author/*/b:NameList/b:Person[4])"/>
  5505.         
  5506.     </xsl:template>
  5507.  
  5508.     <xsl:template name ="getAllPersonsCount">
  5509.         <xsl:value-of select="count(b:Author/*/b:NameList/b:Person)"/>
  5510.         
  5511.     </xsl:template>
  5512.  
  5513.     <xsl:template name ="getSectionsCount">
  5514.         <xsl:value-of select="count(b:Author/*)"/>
  5515.         
  5516.     </xsl:template>
  5517.  
  5518.     <xsl:template name ="getNonEmptySectionsCount">
  5519.         <xsl:value-of select="count(b:Author/*/b:NameList/b:Person[1])"/>
  5520.         
  5521.     </xsl:template>
  5522.  
  5523.     <xsl:template name ="getNonEmpty_Book_PrimSectionsCount">
  5524.         <xsl:value-of select="count(b:Author/b:Author/b:NameList/b:Person[1] | b:Author/b:Author/b:Corporate )"/>
  5525.         
  5526.     </xsl:template>
  5527.  
  5528.     <xsl:template name ="getNonEmpty_BookSection_PrimSectionsCount">
  5529.         <xsl:value-of select ="count(b:Author/b:Author/b:NameList/b:Person[1] | b:Author/b:Author/b:Corporate)"/>
  5530.     </xsl:template>
  5531.  
  5532.     <xsl:template name ="getNonEmpty_JournalArticle_PrimSectionsCount">
  5533.         <xsl:value-of select ="count(b:Author/b:Author/b:NameList/b:Person[1] | b:Author/b:Author/b:Corporate )"/>
  5534.     </xsl:template>
  5535.  
  5536.     <xsl:template name ="getNonEmpty_ArticleInAPeriodical_PrimSectionsCount">
  5537.         <xsl:value-of select ="count(b:Author/b:Author/b:NameList/b:Person[1] | b:Author/b:Author/b:Corporate)"/>
  5538.     </xsl:template>
  5539.  
  5540.     <xsl:template name ="getNonEmpty_ConferenceProceedings_PrimSectionsCount">
  5541.         <xsl:value-of select ="count(b:Author/b:Author/b:NameList/b:Person[1] | b:Author/b:Author/b:Corporate )"/>
  5542.     </xsl:template>
  5543.  
  5544.     <xsl:template name ="getNonEmpty_Report_PrimSectionsCount">
  5545.         <xsl:value-of select ="count(b:Author/b:Author/b:NameList/b:Person[1] | b:Author/b:Author/b:Corporate )"/>
  5546.     </xsl:template>
  5547.  
  5548.     <xsl:template name ="getNonEmpty_SoundRecording_PrimSectionsCount">
  5549.         <xsl:value-of select ="count(b:Author/b:Composer/b:NameList/b:Person[1] | b:Author/b:Artist/b:NameList/b:Person[1] )"/>
  5550.     </xsl:template>
  5551.  
  5552.     <xsl:template name ="getNonEmpty_Performance_PrimSectionsCount">
  5553.         <xsl:value-of select ="count(b:Author/b:Writer/b:NameList/b:Person[1] | b:Author/b:Performer/b:NameList/b:Person[1] | b:Author/b:Performer/b:Corporate | b:Author/b:Director/b:NameList/b:Person[1] )"/>
  5554.     </xsl:template>
  5555.  
  5556.     <xsl:template name ="getNonEmpty_Art_PrimSectionsCount">
  5557.         <xsl:value-of select ="count(b:Author/b:Artist/b:NameList/b:Person[1] )"/>
  5558.     </xsl:template>
  5559.  
  5560.     <xsl:template name ="getNonEmpty_DocumentFromInternetSite_PrimSectionsCount">
  5561.         <xsl:value-of select ="count(b:Author/b:Author/b:NameList/b:Person[1] | b:Author/b:Author/b:Corporate )"/>
  5562.     </xsl:template>
  5563.  
  5564.     <xsl:template name ="getNonEmpty_InternetSite_PrimSectionsCount">
  5565.         <xsl:value-of select ="count(b:Author/b:Author/b:NameList/b:Person[1] | b:Author/b:Author/b:Corporate )"/>
  5566.     </xsl:template>
  5567.  
  5568.     <xsl:template name ="getNonEmpty_Film_PrimSectionsCount">
  5569.         <xsl:value-of select ="count(b:Author/b:Writer/b:NameList/b:Person[1] | b:Author/b:Performer/b:NameList/b:Person[1] | b:Author/b:Performer/b:Corporate | b:Author/b:Director/b:NameList/b:Person[1] )"/>
  5570.     </xsl:template>
  5571.  
  5572.     <xsl:template name ="getNonEmpty_Interview_PrimSectionsCount">
  5573.         <xsl:value-of select ="count(b:Author/b:Interviewee/b:NameList/b:Person[1])"/>
  5574.     </xsl:template>
  5575.  
  5576.     <xsl:template name ="getNonEmpty_Patent_PrimSectionsCount">
  5577.         <xsl:value-of select ="count(b:Author/b:Inventor/b:NameList/b:Person[1])"/>
  5578.     </xsl:template>
  5579.  
  5580.     <xsl:template name ="getNonEmpty_ElectronicSource_PrimSectionsCount">
  5581.         <xsl:value-of select ="count(b:Author/b:Author/b:NameList/b:Person[1] | b:Author/b:Author/b:Corporate)"/>
  5582.     </xsl:template>
  5583.  
  5584.     <xsl:template name ="getNonEmpty_Case_PrimSectionsCount">
  5585.         <xsl:value-of select ="count(b:Author/b:Author/b:NameList/b:Person[1] | b:Author/b:Author/b:Corporate)"/>
  5586.     </xsl:template>
  5587.  
  5588.     <xsl:template name ="getNonEmpty_Misc_PrimSectionsCount">
  5589.         <xsl:value-of select ="count(b:Author/b:Author/b:NameList/b:Person[1] | b:Author/b:Author/b:Corporate)"/>
  5590.     </xsl:template>
  5591.  
  5592.     
  5593.     <xsl:template name="populateMain">
  5594.         <xsl:param name="Type"/>
  5595.         
  5596.         <xsl:element name="{$Type}">
  5597.             
  5598.             <xsl:for-each select="/*[$Type]/b:Source">
  5599.                 
  5600.                 <xsl:variable name="MostImportantAuthorLocalName">
  5601.                     
  5602.                     <xsl:call-template name="MainContributors"/>
  5603.                 </xsl:variable>
  5604.                 <xsl:element name="{'b:Source'}">
  5605.                     
  5606.           <xsl:if test="$Type='b:Citation'">
  5607.             
  5608.             <b:Title>
  5609.               
  5610.               <xsl:if test="string-length(b:Title)>0">
  5611.                 <xsl:value-of select="b:Title"/>
  5612.               </xsl:if>
  5613.               
  5614.               <xsl:if test="string-length(b:Title)=0">
  5615.                 <xsl:choose>
  5616.                   <xsl:when test="b:SourceType='Book' or
  5617.                                   b:SourceType='JournalArticle' or
  5618.                                   b:SourceType='ConferenceProceedings' or
  5619.                                   b:SourceType='Report' or
  5620.                                   b:SourceType='Performance' or
  5621.                                   b:SourceType='Film' or
  5622.                                   b:SourceType='Patent' or
  5623.                                   b:SourceType='Case'">
  5624.  
  5625.                     <xsl:value-of select="b:ShortTitle"/>
  5626.                   </xsl:when>
  5627.  
  5628.                   <xsl:when test="b:SourceType='BookSection'">
  5629.                     <xsl:variable name="shortTitle" select="b:ShortTitle"/>
  5630.                     <xsl:variable name="bookTitle" select="b:BookTitle"/>
  5631.  
  5632.                     <xsl:choose>
  5633.                       <xsl:when test="string-length($shortTitle)>0">
  5634.                         <xsl:value-of select="$shortTitle"/>
  5635.                       </xsl:when>
  5636.                       <xsl:when test="string-length($bookTitle)>0">
  5637.                         <xsl:value-of select="$bookTitle"/>
  5638.                       </xsl:when>
  5639.                     </xsl:choose>
  5640.  
  5641.                   </xsl:when>
  5642.  
  5643.                   <xsl:when test="b:SourceType='ArticleInAPeriodical'">
  5644.                     <xsl:variable name="shortTitle" select="b:ShortTitle"/>
  5645.                     <xsl:variable name="periodicalTitle" select="b:PeriodicalTitle"/>
  5646.  
  5647.                     <xsl:choose>
  5648.                       <xsl:when test="string-length($shortTitle)>0">
  5649.                         <xsl:value-of select="$shortTitle"/>
  5650.                       </xsl:when>
  5651.                       <xsl:when test="string-length($periodicalTitle)>0">
  5652.                         <xsl:value-of select="$periodicalTitle"/>
  5653.                       </xsl:when>
  5654.                     </xsl:choose>
  5655.                   </xsl:when>
  5656.  
  5657.                   <xsl:when test="b:SourceType='InternetSite' or
  5658.                                   b:SourceType='DocumentFromInternetSite'">
  5659.                     <xsl:variable name="shortTitle" select="b:ShortTitle"/>
  5660.                     <xsl:variable name="internetSiteTitle" select="b:InternetSiteTitle"/>
  5661.  
  5662.                     <xsl:choose>
  5663.                       <xsl:when test="string-length($shortTitle)>0">
  5664.                         <xsl:value-of select="$shortTitle"/>
  5665.                       </xsl:when>
  5666.                       <xsl:when test="string-length($internetSiteTitle)>0">
  5667.                         <xsl:value-of select="$internetSiteTitle"/>
  5668.                       </xsl:when>
  5669.                     </xsl:choose>
  5670.                   </xsl:when>
  5671.  
  5672.                   <xsl:when test="b:SourceType='ElectronicSource' or
  5673.                                   b:SourceType='Art' or
  5674.                                   b:SourceType='Misc'">
  5675.                     <xsl:variable name="shortTitle" select="b:ShortTitle"/>
  5676.                     <xsl:variable name="publicationTitle" select="b:PublicationTitle"/>
  5677.  
  5678.                     <xsl:choose>
  5679.                       <xsl:when test="string-length($shortTitle)>0">
  5680.                         <xsl:value-of select="$shortTitle"/>
  5681.                       </xsl:when>
  5682.                       <xsl:when test="string-length($publicationTitle)>0">
  5683.                         <xsl:value-of select="$publicationTitle"/>
  5684.                       </xsl:when>
  5685.                     </xsl:choose>
  5686.                   </xsl:when>
  5687.  
  5688.                   <xsl:when test="b:SourceType='SoundRecording'">
  5689.                     <xsl:variable name="shortTitle" select="b:ShortTitle"/>
  5690.                     <xsl:variable name="albumTitle" select="b:AlbumTitle"/>
  5691.  
  5692.                     <xsl:choose>
  5693.                       <xsl:when test="string-length($shortTitle)>0">
  5694.                         <xsl:value-of select="$shortTitle"/>
  5695.                       </xsl:when>
  5696.                       <xsl:when test="string-length($albumTitle)>0">
  5697.                         <xsl:value-of select="$albumTitle"/>
  5698.                       </xsl:when>
  5699.                     </xsl:choose>
  5700.                   </xsl:when>
  5701.  
  5702.                   <xsl:when test="b:SourceType='Interview'">
  5703.                     <xsl:variable name="shortTitle" select="b:ShortTitle"/>
  5704.                     
  5705.                     <xsl:variable name="broadcastTitle" select="b:BroadcastTitle"/>
  5706.                     
  5707.  
  5708.                     <xsl:choose>
  5709.                       <xsl:when test="string-length($shortTitle)>0">
  5710.                         <xsl:value-of select="$shortTitle"/>
  5711.                       </xsl:when>
  5712.                       
  5713.                       <xsl:when test="string-length($broadcastTitle)>0">
  5714.                         <xsl:value-of select="$broadcastTitle"/>
  5715.                       </xsl:when>
  5716.                       
  5717.                     </xsl:choose>
  5718.                   </xsl:when>
  5719.  
  5720.                 </xsl:choose>
  5721.               </xsl:if>
  5722.             </b:Title>
  5723.           </xsl:if>
  5724.           <b:Author>
  5725.                         
  5726.                         <b:Main>
  5727.                             <xsl:if test="string-length(./b:Author/*[local-name()=$MostImportantAuthorLocalName]/b:Corporate)=0">
  5728.                                 <b:NameList>
  5729.                                     <xsl:for-each select="./b:Author/*[local-name()=$MostImportantAuthorLocalName]/b:NameList/b:Person">
  5730.                                         <b:Person>
  5731.                                             
  5732.                                             <b:Last>
  5733.                                                 <xsl:value-of select="./b:Last"/>
  5734.                                             </b:Last>
  5735.                                             <b:First>
  5736.                                                 <xsl:value-of select="./b:First"/>
  5737.                                             </b:First>
  5738.                                             <b:Middle>
  5739.                                                 <xsl:value-of select="./b:Middle"/>
  5740.                                             </b:Middle>
  5741.                                         </b:Person>
  5742.                                     </xsl:for-each>
  5743.                                 </b:NameList>
  5744.                             </xsl:if>
  5745.                             <xsl:if test="string-length(./b:Author/*[local-name()=$MostImportantAuthorLocalName]/b:Corporate)>0">
  5746.                                 <b:Corporate>
  5747.                                   <xsl:value-of select="./b:Author/*[local-name()=$MostImportantAuthorLocalName]/b:Corporate"/>
  5748.                                 </b:Corporate>
  5749.                             </xsl:if>
  5750.                         </b:Main>
  5751.                         <xsl:for-each select="./b:Author/*">
  5752.                             
  5753.                             <xsl:if test="name()!='b:Main'">
  5754.                                 <xsl:element name="{name()}" namespace="{namespace-uri()}">
  5755.                                     <xsl:call-template name="copyNameNodes"/>
  5756.                                     
  5757.                                 </xsl:element>
  5758.                             </xsl:if>
  5759.                         </xsl:for-each>
  5760.                     </b:Author>
  5761.                     <xsl:for-each select="*">
  5762.                         
  5763.             <xsl:if test="name()!='b:Author' and not(name()='b:Title' and $Type='b:Citation')">
  5764.               <xsl:element name="{name()}" namespace="{namespace-uri()}">
  5765.                                 <xsl:call-template name="copyNodes"/>
  5766.                                 
  5767.                             </xsl:element>
  5768.                         </xsl:if>
  5769.                     </xsl:for-each>
  5770.                 </xsl:element>
  5771.             </xsl:for-each>
  5772.             <xsl:for-each select="/*[$Type]/*">
  5773.                 
  5774.                 <xsl:if test="local-name()!='Source'">
  5775.                     <xsl:call-template name="copyTrees"/>
  5776.                 </xsl:if>
  5777.             </xsl:for-each>
  5778.         </xsl:element>
  5779.     </xsl:template>
  5780.  
  5781.     
  5782.     <xsl:template name="copyNameNodes">
  5783.         <xsl:if test="string-length(b:Corporate)=0">
  5784.             <b:NameList>
  5785.                 <xsl:for-each select="b:NameList/b:Person">
  5786.                     
  5787.                     <b:Person>
  5788.                         
  5789.                         <xsl:if test="string-length(./b:Last)>0">
  5790.                             
  5791.                             <b:Last>
  5792.                                 <xsl:value-of select="./b:Last"/>
  5793.                             </b:Last>
  5794.                         </xsl:if>
  5795.                         <xsl:if test="string-length(./b:First)>0">
  5796.                             <b:First>
  5797.                                 <xsl:value-of select="./b:First"/>
  5798.                             </b:First>
  5799.                         </xsl:if>
  5800.                         <xsl:if test="string-length(./b:Middle)>0">
  5801.                             <b:Middle>
  5802.                                 <xsl:value-of select="./b:Middle"/>
  5803.                             </b:Middle>
  5804.                         </xsl:if>
  5805.                     </b:Person>
  5806.                 </xsl:for-each>
  5807.             </b:NameList>
  5808.         </xsl:if>
  5809.         <xsl:if test="string-length(b:Corporate)>0">
  5810.             <b:Corporate>
  5811.               <xsl:value-of select="b:Corporate"/>
  5812.             </b:Corporate>
  5813.         </xsl:if>
  5814.     </xsl:template>
  5815.  
  5816.     
  5817.     <xsl:template name="copyNodes">
  5818.         <xsl:value-of select="."/>
  5819.     </xsl:template>
  5820.  
  5821.     
  5822.     <xsl:template name="copyTrees">
  5823.         <xsl:copy-of select ='.'/>
  5824.     </xsl:template>
  5825.  
  5826.     
  5827.     <xsl:template name ="formatColonElement">
  5828.         <xsl:param name ="FirstParam"></xsl:param>
  5829.         <xsl:param name ="SecondParam"></xsl:param>
  5830.         <xsl:param name ="ThirdParam"></xsl:param>
  5831.         <xsl:param name ="FourthParam"></xsl:param>
  5832.  
  5833.         <xsl:variable name="constGost_ColonElementSeparator">
  5834.             <xsl:call-template name="templ_prop_NonBreakingSpace" />
  5835.             <xsl:call-template name="templ_prop_EnumSeparator" />
  5836.             
  5837.         </xsl:variable>
  5838.  
  5839.         <xsl:value-of select ="$FirstParam"/>
  5840.         <xsl:if test ="string-length($FirstParam)>0 and (string-length($SecondParam)>0 or string-length($ThirdParam)>0 or string-length($FourthParam)>0)">
  5841.             <xsl:value-of select="$constGost_ColonElementSeparator"/>
  5842.         </xsl:if>
  5843.         <xsl:value-of select ="$SecondParam"/>
  5844.         <xsl:if test ="string-length($SecondParam)>0 and (string-length($ThirdParam)>0 or string-length($FourthParam)>0)">
  5845.             <xsl:value-of select="$constGost_ColonElementSeparator"/>
  5846.         </xsl:if>
  5847.         <xsl:value-of select ="$ThirdParam"/>
  5848.         <xsl:if test ="string-length($ThirdParam)>0 and string-length($FourthParam)>0">
  5849.             <xsl:value-of select="$constGost_ColonElementSeparator"/>
  5850.         </xsl:if>
  5851.         <xsl:value-of select ="$FourthParam"/>
  5852.     </xsl:template>
  5853.  
  5854.     
  5855.     
  5856.     <xsl:template name ="formatLocationElement">
  5857.         
  5858.         <xsl:param name="noSL"/>
  5859.         <xsl:param name="Location"/>
  5860.         <xsl:param name ="Publisher"/>
  5861.         <xsl:param name ="Distributor"/>
  5862.         <xsl:choose>
  5863.             <xsl:when test ="string-length($Location)=0 and string-length($Publisher)=0">
  5864.                 
  5865.                 <xsl:variable name ="LocationColonElement">
  5866.                     <xsl:call-template name ="formatColonElement">
  5867.                         <xsl:with-param name ="FirstParam"/>
  5868.                         <xsl:with-param name ="SecondParam"/>
  5869.                         <xsl:with-param name ="ThirdParam" select ="b:Distributor"/>
  5870.                     </xsl:call-template>
  5871.                 </xsl:variable>
  5872.  
  5873.                 <xsl:value-of select ="$LocationColonElement"/>
  5874.             </xsl:when>
  5875.             <xsl:when test ="string-length($Location)>0 or string-length($Publisher)>0">
  5876.  
  5877.                 <xsl:variable name ="ColonElementFirstParam">
  5878.                     <xsl:choose>
  5879.                         
  5880.                         <xsl:when test ="$noSL='yes'"></xsl:when>
  5881.                         <xsl:when test ="string-length($Location)=0">
  5882.                             
  5883.                             
  5884.                             
  5885.                             
  5886.                             
  5887.                             
  5888.                             
  5889.                             <xsl:value-of select="$constGost_SineLoco"/>
  5890.                         </xsl:when>
  5891.                         <xsl:otherwise>
  5892.                             <xsl:value-of select ="$Location"/>
  5893.                         </xsl:otherwise>
  5894.                     </xsl:choose>
  5895.                 </xsl:variable>
  5896.  
  5897.                 <xsl:variable name ="ColonElementSecondParam">
  5898.                     <xsl:choose>
  5899.                         
  5900.                         <xsl:when test ="string-length($Publisher)=0">
  5901.                             
  5902.                             
  5903.                             
  5904.                             
  5905.                             
  5906.                             
  5907.                             
  5908.                             <xsl:value-of select="$constGost_SineNomine"/>
  5909.                         </xsl:when>
  5910.                         <xsl:otherwise>
  5911.                             <xsl:value-of select ="$Publisher"/>
  5912.                         </xsl:otherwise>
  5913.                     </xsl:choose>
  5914.                 </xsl:variable>
  5915.  
  5916.                 <xsl:variable name ="ColonElementThirdParam">
  5917.                     <xsl:value-of select ="$Distributor"/>
  5918.                 </xsl:variable>
  5919.  
  5920.                 <xsl:variable name ="LocationColonElement">
  5921.                     
  5922.                     <xsl:call-template name ="formatColonElement">
  5923.                         <xsl:with-param name ="FirstParam" select ="$ColonElementFirstParam"/>
  5924.                         <xsl:with-param name ="SecondParam" select ="$ColonElementSecondParam"/>
  5925.                         <xsl:with-param name ="ThirdParam" select ="$ColonElementThirdParam"/>
  5926.                     </xsl:call-template>
  5927.                 </xsl:variable>
  5928.  
  5929.                 <xsl:value-of select ="$LocationColonElement"/>
  5930.             </xsl:when>
  5931.         </xsl:choose>
  5932.     </xsl:template>
  5933.  
  5934.     
  5935.     <xsl:template name ="formatHyphenSection">
  5936.         <xsl:param name="FirstElement"/>
  5937.         <xsl:param name="SecondElement"/>
  5938.         
  5939.         <xsl:if test="not (string-length($FirstElement)=0 and string-length($SecondElement)=0)">
  5940.             
  5941.             
  5942.             
  5943.             
  5944.             
  5945.             <xsl:value-of select="$constGost_HyphenSectionHeader"/>
  5946.             <xsl:if test="string-length($FirstElement)>0 and string-length($SecondElement)>0">
  5947.                 <xsl:value-of select ="$FirstElement"/>
  5948.             </xsl:if>
  5949.  
  5950.       <xsl:if test="string-length($FirstElement)>0 and string-length($SecondElement)=0">
  5951.          <xsl:value-of select="$FirstElement"/>
  5952.       </xsl:if>
  5953.  
  5954.       <xsl:if test="string-length($SecondElement)>0">
  5955.             <xsl:if test ="string-length($FirstElement)>0">
  5956.                 
  5957.                 
  5958.                 
  5959.                 <xsl:value-of select="$constGost_HyphenSectionPartsSeparator"/>
  5960.             </xsl:if>
  5961.               <xsl:value-of select="$SecondElement"/>
  5962.         </xsl:if>
  5963.      </xsl:if>
  5964.     </xsl:template>
  5965.     
  5966.     <xsl:template name="formatDateMonthYear">
  5967.         <xsl:param name="appendSpace"/>
  5968.         <xsl:call-template name="formatDateCore">
  5969.             <xsl:with-param name="day">
  5970.                 <xsl:call-template name="handleSpaces">
  5971.                     <xsl:with-param name="field" select="b:Day"/>
  5972.                 </xsl:call-template>
  5973.             </xsl:with-param>
  5974.             <xsl:with-param name="month">
  5975.                 <xsl:call-template name="handleSpaces">
  5976.                     <xsl:with-param name="field" select="b:Month"/>
  5977.                 </xsl:call-template>
  5978.             </xsl:with-param>
  5979.             <xsl:with-param name="year">
  5980.                 <xsl:call-template name="handleSpaces">
  5981.                     <xsl:with-param name="field" select="b:Year"/>
  5982.                 </xsl:call-template>
  5983.             </xsl:with-param>
  5984.             
  5985.             <xsl:with-param name="DMY"><xsl:call-template name="templ_prop_Gost_Date_DMY"/></xsl:with-param>
  5986.             <xsl:with-param name="DM"><xsl:call-template name="templ_prop_Gost_Date_DM"/></xsl:with-param>
  5987.             <xsl:with-param name="MY"><xsl:call-template name="templ_prop_Gost_Date_MY"/></xsl:with-param>
  5988.             <xsl:with-param name="DY"><xsl:call-template name="templ_prop_Gost_Date_DY"/></xsl:with-param>
  5989.         </xsl:call-template>
  5990.     </xsl:template>
  5991.  
  5992.     <xsl:template name="formatDateMonthYearAccessed">
  5993.         <xsl:param name="appendSpace"/>
  5994.         <xsl:call-template name="formatDateCore">
  5995.             <xsl:with-param name="day">
  5996.                 <xsl:call-template name="handleSpaces">
  5997.                     <xsl:with-param name="field" select="b:DayAccessed"/>
  5998.                 </xsl:call-template>
  5999.             </xsl:with-param>
  6000.             <xsl:with-param name="month">
  6001.                 <xsl:call-template name="handleSpaces">
  6002.                     <xsl:with-param name="field" select="b:MonthAccessed"/>
  6003.                 </xsl:call-template>
  6004.             </xsl:with-param>
  6005.             <xsl:with-param name="year">
  6006.                 <xsl:call-template name="handleSpaces">
  6007.                     <xsl:with-param name="field" select="b:YearAccessed"/>
  6008.                 </xsl:call-template>
  6009.             </xsl:with-param>
  6010.             
  6011.             <xsl:with-param name="DMY"><xsl:call-template name="templ_prop_Gost_Date_DMY"/></xsl:with-param>
  6012.             <xsl:with-param name="DM"><xsl:call-template name="templ_prop_Gost_Date_DM"/></xsl:with-param>
  6013.             <xsl:with-param name="MY"><xsl:call-template name="templ_prop_Gost_Date_MY"/></xsl:with-param>
  6014.             <xsl:with-param name="DY"><xsl:call-template name="templ_prop_Gost_Date_DY"/></xsl:with-param>
  6015.         </xsl:call-template>
  6016.     </xsl:template>
  6017.  
  6018.     
  6019.     
  6020.     <xsl:template name ="formatPrimaryResponsibilities">
  6021.         <xsl:param name ="FirstElement"></xsl:param>
  6022.         <xsl:param name ="SecondElement"></xsl:param>
  6023.         <xsl:param name ="ThirdElement"></xsl:param>
  6024.         <xsl:param name ="NonEmptyPrimSectionsCount">2</xsl:param>
  6025.         <xsl:param name ="MainSectionsCount">0</xsl:param>
  6026.  
  6027.           <xsl:if test ="$NonEmptyPrimSectionsCount - $MainSectionsCount>0">
  6028.               
  6029.               
  6030.               
  6031.               
  6032.               
  6033.               <xsl:value-of select="$constGost_PrimaryResponsibilitiesHeader"/>
  6034.           </xsl:if>
  6035.  
  6036.           
  6037.           <xsl:if test ="$NonEmptyPrimSectionsCount >2">
  6038.               
  6039.               
  6040.               <xsl:value-of select="$constGost_PrimaryResponsibilitiesOpen"/>
  6041.           </xsl:if>
  6042.  
  6043.           
  6044.           <xsl:if test ='string-length($FirstElement)>0'>
  6045.               <xsl:value-of select = "$FirstElement"/>
  6046.           </xsl:if>
  6047.  
  6048.           
  6049.           <xsl:if test ="not ($FirstElement ='') and $NonEmptyPrimSectionsCount > 1">
  6050.               
  6051.               
  6052.               
  6053.               
  6054.               
  6055.               <xsl:value-of select="$constGost_PrimaryResponsibilitiesSeparator"/>
  6056.           </xsl:if>
  6057.  
  6058.           
  6059.           <xsl:if test ='string-length($SecondElement)>0'>
  6060.               <xsl:value-of select = "$SecondElement"/>
  6061.           </xsl:if>
  6062.  
  6063.           
  6064.           <xsl:if test ="($FirstElement ='' and $NonEmptyPrimSectionsCount >1) or ($NonEmptyPrimSectionsCount > 2)">
  6065.               
  6066.               
  6067.               
  6068.               
  6069.               
  6070.               <xsl:value-of select="$constGost_PrimaryResponsibilitiesSeparator"/>
  6071.           </xsl:if>
  6072.  
  6073.           
  6074.           <xsl:if test ='string-length($ThirdElement)>0'>
  6075.               <xsl:value-of select = "$ThirdElement"/>
  6076.           </xsl:if>
  6077.  
  6078.           
  6079.           <xsl:if test ="$NonEmptyPrimSectionsCount >2">
  6080.               
  6081.               
  6082.               <xsl:value-of select="$constGost_PrimaryResponsibilitiesClose"/>
  6083.           </xsl:if>
  6084.  
  6085.   </xsl:template>
  6086.  
  6087.     
  6088.  
  6089.     <xsl:template name ="format_SemiColonSeparated_Items">
  6090.         <xsl:param name="Item1"></xsl:param>
  6091.         <xsl:param name="Item2"></xsl:param>
  6092.         <xsl:param name="Item3"></xsl:param>
  6093.  
  6094.         <xsl:value-of select ="$Item1"/>
  6095.         <xsl:if test ="string-length($Item1)>0 and (string-length($Item2)>0 or string-length($Item3) >0)">
  6096.             
  6097.             
  6098.             
  6099.             <xsl:value-of select="$constGost_SemiColonSeparatedItemsSeparator"/>
  6100.         </xsl:if>
  6101.         <xsl:value-of select ="$Item2"/>
  6102.         <xsl:if test ="string-length($Item2)>0 and string-length($Item3) >0">
  6103.             
  6104.             
  6105.             
  6106.             <xsl:value-of select="$constGost_SemiColonSeparatedItemsSeparator"/>
  6107.         </xsl:if>
  6108.         <xsl:value-of select ="$Item3"/>
  6109.     </xsl:template>
  6110.  
  6111.     
  6112.     <xsl:template name ="formatSecondaryResponsibilities">
  6113.         <xsl:param name ="CollectionName"></xsl:param>
  6114.         
  6115.         <xsl:param name ="FirstElement"></xsl:param>
  6116.         <xsl:param name ="SecondElement"></xsl:param>
  6117.         <xsl:param name ="ThirdElement"></xsl:param>
  6118.     <xsl:param name ="FourthElement"></xsl:param>
  6119.  
  6120.       <xsl:if test ="string-length($CollectionName)>0 or string-length($FirstElement)>0 or string-length($SecondElement)>0 or string-length($ThirdElement)>0">
  6121.         <xsl:choose>
  6122.           <xsl:when test ="string-length($CollectionName)>0">
  6123.             
  6124.             
  6125.             
  6126.             
  6127.             <xsl:value-of select="$constGost_CollectionNameHeader"/>
  6128.             <xsl:value-of select ="$CollectionName"/>
  6129.             
  6130.           </xsl:when>
  6131.           <xsl:otherwise>
  6132.             
  6133.             
  6134.             
  6135.             
  6136.             
  6137.             <xsl:value-of select="$constGost_SecondaryResponsibilitiesHeader"/>
  6138.           </xsl:otherwise>
  6139.         </xsl:choose>
  6140.  
  6141.         <xsl:if test ="string-length($CollectionName)>0 and string-length($FirstElement)>0">
  6142.           
  6143.           
  6144.           
  6145.           <xsl:value-of select="$constGost_SecondaryResponsibilitiesSeparator"/>
  6146.         </xsl:if>
  6147.         <xsl:value-of select ="$FirstElement"/>
  6148.         <xsl:if test ="(string-length($CollectionName)>0 or string-length($FirstElement)>0) and string-length($SecondElement)>0 ">
  6149.           
  6150.           
  6151.           
  6152.           <xsl:value-of select="$constGost_SecondaryResponsibilitiesSeparator"/>
  6153.         </xsl:if>
  6154.         <xsl:value-of select ="$SecondElement"/>
  6155.         <xsl:if test ="(string-length($CollectionName)>0 or string-length($FirstElement)>0 or string-length($SecondElement)>0) and string-length($ThirdElement)>0 ">
  6156.           
  6157.           
  6158.           
  6159.           <xsl:value-of select="$constGost_SecondaryResponsibilitiesSeparator"/>
  6160.         </xsl:if>
  6161.         <xsl:value-of select ="$ThirdElement"/>
  6162.         <xsl:if test ="(string-length($CollectionName)>0 or string-length($FirstElement)>0 or string-length($SecondElement)>0 or string-length($ThirdElement)>0) and string-length($FourthElement)>0 ">
  6163.           
  6164.           
  6165.           
  6166.           <xsl:value-of select="$constGost_SecondaryResponsibilitiesSeparator"/>
  6167.         </xsl:if>
  6168.         <xsl:value-of select ="$FourthElement"/>
  6169.       </xsl:if>
  6170.  
  6171.     </xsl:template>
  6172.  
  6173.   <xsl:template name="handleSpaces">
  6174.         <xsl:param name="field"/>
  6175.  
  6176.     <xsl:variable name="prop_NormalizeSpace">
  6177.       <xsl:call-template name="templ_prop_NormalizeSpace"/>
  6178.     </xsl:variable>
  6179.  
  6180.     <xsl:choose>
  6181.             <xsl:when test="$prop_NormalizeSpace='yes'">
  6182.                 <xsl:value-of select="normalize-space($field)"/>
  6183.             </xsl:when>
  6184.             <xsl:otherwise>
  6185.                 <xsl:value-of select="$field"/>
  6186.             </xsl:otherwise>
  6187.         </xsl:choose>
  6188.     </xsl:template>
  6189.     
  6190.     <xsl:template name="handleHyphens">
  6191.         <xsl:param name="name"/>
  6192.  
  6193.     <xsl:variable name="prop_APA_Hyphens">
  6194.       <xsl:call-template name="templ_prop_Hyphens"/>
  6195.     </xsl:variable>
  6196.  
  6197.     <xsl:if test="string-length($name)>=2">
  6198.             <xsl:choose>
  6199.                 <xsl:when test="contains($prop_APA_Hyphens, substring($name, 1, 1))">
  6200.                     <xsl:value-of select="substring($name, 1, 2)"/>
  6201.                     <xsl:call-template name="templ_prop_DotInitial"/>
  6202.                     
  6203.                     <xsl:call-template name="handleHyphens">
  6204.                         <xsl:with-param name="name" select="substring($name, 3)"/>
  6205.                     </xsl:call-template>
  6206.                 </xsl:when>
  6207.                 
  6208.                 <xsl:otherwise>
  6209.                     <xsl:call-template name="handleHyphens">
  6210.                         <xsl:with-param name="name" select="substring($name, 2)"/>
  6211.                     </xsl:call-template>
  6212.                 </xsl:otherwise>
  6213.             </xsl:choose>
  6214.             
  6215.         </xsl:if>
  6216.  
  6217.     </xsl:template>
  6218.  
  6219.     <xsl:template name="formatNameInitial">
  6220.         <xsl:param name="name"/>
  6221.         <xsl:variable name="temp">
  6222.             <xsl:call-template name="handleSpaces">
  6223.                 <xsl:with-param name="field" select="$name"/>
  6224.             </xsl:call-template>
  6225.         </xsl:variable>
  6226.     <xsl:variable name="prop_APA_Hyphens">
  6227.       <xsl:call-template name="templ_prop_Hyphens"/>
  6228.     </xsl:variable>
  6229.  
  6230.     <xsl:if test="string-length($temp)>0">
  6231.  
  6232.             <xsl:variable name="tempWithoutSpaces">
  6233.                 <xsl:value-of select="translate($temp, '  ', '')"/>
  6234.             </xsl:variable>
  6235.  
  6236.             <xsl:if test="not(contains($prop_APA_Hyphens, substring($tempWithoutSpaces, 1, 1)))">
  6237.                 <xsl:value-of select="substring($tempWithoutSpaces, 1, 1)"/>
  6238.                 <xsl:call-template name="templ_prop_DotInitial"/>
  6239.             </xsl:if>
  6240.  
  6241.             <xsl:call-template name="handleHyphens">
  6242.                 <xsl:with-param name="name" select="$tempWithoutSpaces"/>
  6243.             </xsl:call-template>
  6244.         </xsl:if>
  6245.     </xsl:template>
  6246.  
  6247.  
  6248.  
  6249.     <xsl:template name="formatNameOneItem">
  6250.         <xsl:param name="format"/>
  6251.  
  6252.         <xsl:choose>
  6253.             <xsl:when test="$format = 'F'">
  6254.                 <xsl:value-of select="b:First"/>
  6255.             </xsl:when>
  6256.             <xsl:when test="$format = 'L'">
  6257.                 <xsl:value-of select="b:Last"/>
  6258.             </xsl:when>
  6259.             <xsl:when test="$format = 'M'">
  6260.                 <xsl:value-of select="b:Middle"/>
  6261.             </xsl:when>
  6262.             <xsl:when test="$format = 'f'">
  6263.                 <xsl:call-template name="formatNameInitial">
  6264.                     <xsl:with-param name="name" select="b:First"/>
  6265.                 </xsl:call-template>
  6266.             </xsl:when>
  6267.             <xsl:when test="$format = 'm'">
  6268.                 <xsl:call-template name="formatNameInitial">
  6269.                     <xsl:with-param name="name" select="b:Middle"/>
  6270.                 </xsl:call-template>
  6271.             </xsl:when>
  6272.             <xsl:when test="$format = 'l'">
  6273.                 <xsl:call-template name="formatNameInitial">
  6274.                     <xsl:with-param name="name" select="b:Last"/>
  6275.                 </xsl:call-template>
  6276.             </xsl:when>
  6277.         </xsl:choose>
  6278.  
  6279.     </xsl:template>
  6280.  
  6281.  
  6282.  
  6283.     <xsl:template name="need_Dot">
  6284.         <xsl:param name="field"/>
  6285.         
  6286.         <xsl:variable name="temp">
  6287.             <xsl:call-template name="handleSpaces">
  6288.                 <xsl:with-param name="field" select="$field"/>
  6289.             </xsl:call-template>
  6290.         </xsl:variable>
  6291.  
  6292.         <xsl:variable name="lastChar">
  6293.             <xsl:value-of select="substring($temp, string-length($temp))"/>
  6294.         </xsl:variable>
  6295.     <xsl:variable name="prop_EndChars">
  6296.       <xsl:call-template name="templ_prop_EndChars"/>
  6297.     </xsl:variable>
  6298.  
  6299.     <xsl:choose>
  6300.             <xsl:when test="string-length($temp) = 0">
  6301.             </xsl:when>
  6302.             <xsl:when test="contains($prop_EndChars, $lastChar)">
  6303.             </xsl:when>
  6304.             <xsl:otherwise>
  6305.                 <xsl:call-template name="templ_prop_Dot"/>
  6306.             </xsl:otherwise>
  6307.         </xsl:choose>
  6308.     </xsl:template>
  6309.     
  6310.     
  6311.  
  6312.  
  6313.     <xsl:template name="formatNameCore">
  6314.         <xsl:param name="FML"/>
  6315.         <xsl:param name="FM"/>
  6316.         <xsl:param name="ML"/>
  6317.         <xsl:param name="FL"/>
  6318.         <xsl:param name="upperLast"/>
  6319.         <xsl:param name="withDot"/>
  6320.  
  6321.         <xsl:variable name="first">
  6322.             <xsl:call-template name="handleSpaces">
  6323.                 <xsl:with-param name="field" select="b:First"/>
  6324.             </xsl:call-template>
  6325.         </xsl:variable>
  6326.  
  6327.         <xsl:variable name="middle">
  6328.             <xsl:call-template name="handleSpaces">
  6329.                 <xsl:with-param name="field" select="b:Middle"/>
  6330.             </xsl:call-template>
  6331.         </xsl:variable>
  6332.  
  6333.         <xsl:variable name="last">
  6334.             <xsl:call-template name="handleSpaces">
  6335.                 <xsl:with-param name="field" select="b:Last"/>
  6336.             </xsl:call-template>
  6337.         </xsl:variable>
  6338.         
  6339.         <xsl:variable name="format">
  6340.             <xsl:choose>
  6341.                 <xsl:when test="string-length($first) = 0 and string-length($middle) = 0 and string-length($last) = 0 ">
  6342.                 </xsl:when>
  6343.                 <xsl:when test="string-length($first) = 0 and string-length($middle) = 0 and string-length($last) != 0 ">
  6344.                     <xsl:call-template name="templ_prop_SimpleAuthor_L" />
  6345.                 </xsl:when>
  6346.                 <xsl:when test="string-length($first) = 0 and string-length($middle) != 0 and string-length($last) = 0 ">
  6347.           <xsl:call-template name="templ_prop_SimpleAuthor_M" />
  6348.                 </xsl:when>
  6349.                 <xsl:when test="string-length($first) = 0 and string-length($middle) != 0 and string-length($last) != 0 ">
  6350.                     <xsl:value-of select="$ML"/>
  6351.                 </xsl:when>
  6352.                 <xsl:when test="string-length($first) != 0 and string-length($middle) = 0 and string-length($last) = 0 ">
  6353.                     <xsl:call-template name="templ_prop_SimpleAuthor_F" />
  6354.                 </xsl:when>
  6355.                 <xsl:when test="string-length($first) != 0 and string-length($middle) = 0 and string-length($last) != 0 ">
  6356.                     <xsl:value-of select="$FL"/>
  6357.                 </xsl:when>
  6358.                 <xsl:when test="string-length($first) != 0 and string-length($middle) != 0 and string-length($last) = 0 ">
  6359.                     <xsl:value-of select="$FM"/>
  6360.                 </xsl:when>
  6361.                 <xsl:when test="string-length($first) != 0 and string-length($middle) != 0 and string-length($last) != 0 ">
  6362.                     <xsl:value-of select="$FML"/>
  6363.                 </xsl:when>
  6364.             </xsl:choose>
  6365.         </xsl:variable>
  6366.         
  6367.         <xsl:call-template name="StringFormatName">
  6368.             <xsl:with-param name="format" select="$format"/>
  6369.             <xsl:with-param name="upperLast" select="$upperLast"/>
  6370.             <xsl:with-param name="withDot" select="$withDot"/>
  6371.         </xsl:call-template>
  6372.         
  6373.     </xsl:template>
  6374.  
  6375.     <xsl:template name="formatDateCorePrivate">
  6376.         <xsl:param name="DMY"/>
  6377.         <xsl:param name="DM"/>
  6378.         <xsl:param name="MY"/>
  6379.         <xsl:param name="DY"/>
  6380.  
  6381.         <xsl:param name="day"/>
  6382.         <xsl:param name="month"/>
  6383.         <xsl:param name="year"/>
  6384.         
  6385.         <xsl:param name="withDot"/>
  6386.         
  6387.         <xsl:variable name="format">
  6388.             <xsl:choose>
  6389.                 <xsl:when test="string-length($day) = 0 and string-length($month) = 0 and string-length($year) = 0 ">
  6390.                 </xsl:when>
  6391.                 <xsl:when test="string-length($day) = 0 and string-length($month) = 0 and string-length($year) != 0 ">
  6392.                     <xsl:call-template name="templ_prop_SimpleDate_Y" />
  6393.                 </xsl:when>
  6394.                 <xsl:when test="string-length($day) = 0 and string-length($month) != 0 and string-length($year) = 0 ">
  6395.                 </xsl:when>
  6396.                 <xsl:when test="string-length($day) = 0 and string-length($month) != 0 and string-length($year) != 0 ">
  6397.                     <xsl:value-of select="$MY"/>
  6398.                 </xsl:when>
  6399.                 <xsl:when test="string-length($day) != 0 and string-length($month) = 0 and string-length($year) = 0 ">
  6400.                 </xsl:when>
  6401.                 <xsl:when test="string-length($day) != 0 and string-length($month) = 0 and string-length($year) != 0 ">
  6402.                     <xsl:call-template name="templ_prop_SimpleDate_Y" />
  6403.                 </xsl:when>
  6404.                 <xsl:when test="string-length($day) != 0 and string-length($month) != 0 and string-length($year) = 0 ">
  6405.                 </xsl:when>
  6406.                 <xsl:when test="string-length($day) != 0 and string-length($month) != 0 and string-length($year) != 0 ">
  6407.                     <xsl:value-of select="$DMY"/>
  6408.                 </xsl:when>
  6409.             </xsl:choose>
  6410.         </xsl:variable>
  6411.         
  6412.         <xsl:call-template name="StringFormatDate">
  6413.             <xsl:with-param name="format" select="$format"/>
  6414.  
  6415.             <xsl:with-param name="day" select="$day"/>
  6416.             <xsl:with-param name="month" select="$month"/>
  6417.             <xsl:with-param name="year" select="$year"/>
  6418.  
  6419.             <xsl:with-param name="withDot" select="$withDot"/>
  6420.         </xsl:call-template>
  6421.         
  6422.     </xsl:template>
  6423.  
  6424.     <xsl:template name="StringFormatName">
  6425.         <xsl:param name="format" />
  6426.         <xsl:param name="withDot" />
  6427.         <xsl:param name="upperLast"/>
  6428.  
  6429.     <xsl:variable name="prop_EndChars">
  6430.       <xsl:call-template name="templ_prop_EndChars"/>
  6431.     </xsl:variable>
  6432.  
  6433.  
  6434.     <xsl:choose>
  6435.             <xsl:when test="$format = ''"></xsl:when>
  6436.             <xsl:when test="substring($format, 1, 2) = '%%'">
  6437.                 <xsl:text>%</xsl:text>
  6438.                 <xsl:call-template name="StringFormatName">
  6439.                     <xsl:with-param name="format" select="substring($format, 3)" />
  6440.                     <xsl:with-param name="withDot" select="$withDot" />
  6441.                     <xsl:with-param name="upperLast" select="$upperLast" />
  6442.                 </xsl:call-template>
  6443.                 <xsl:if test="string-length($format)=2 and withDot = 'yes' and not(contains($prop_EndChars, '%'))">
  6444.                     <xsl:call-template name="templ_prop_Dot"/>
  6445.                 </xsl:if>
  6446.             </xsl:when>
  6447.             <xsl:when test="substring($format, 1, 1) = '%'">
  6448.                 <xsl:variable name="what" select="substring($format, 2, 1)" />
  6449.                 
  6450.                 <xsl:choose>
  6451.                     <xsl:when test="(what = 'l' or what = 'L') and upperLast = 'yes'">
  6452.                         <span style='text-transform: uppercase;'>
  6453.                             <xsl:call-template name="formatNameOneItem">
  6454.                                 <xsl:with-param name="format" select="$what"/>
  6455.                             </xsl:call-template>
  6456.                         </span>
  6457.                     </xsl:when>
  6458.                     <xsl:otherwise>
  6459.                         <xsl:call-template name="formatNameOneItem">
  6460.                             <xsl:with-param name="format" select="$what"/>
  6461.                         </xsl:call-template>
  6462.                     </xsl:otherwise>
  6463.                 </xsl:choose>
  6464.                 <xsl:call-template name="StringFormatName">
  6465.                     <xsl:with-param name="format" select="substring($format, 3)" />
  6466.                     <xsl:with-param name="withDot" select="$withDot" />
  6467.                     <xsl:with-param name="upperLast" select="$upperLast" />
  6468.                 </xsl:call-template>
  6469.                 <xsl:if test="string-length($format)=2 and withDot='yes'">
  6470.                     <xsl:variable name="temp2">
  6471.                         <xsl:call-template name="handleSpaces">
  6472.                             <xsl:with-param name="field">
  6473.                                 <xsl:call-template name="formatNameOneItem">
  6474.                                     <xsl:with-param name="format" select="$what"/>
  6475.                                 </xsl:call-template>
  6476.                             </xsl:with-param>
  6477.                         </xsl:call-template>
  6478.                     </xsl:variable>                
  6479.                     <xsl:variable name="lastChar">
  6480.                         <xsl:value-of select="substring($temp2, string-length($temp2))"/>
  6481.                     </xsl:variable>
  6482.                     <xsl:if test="not(contains($prop_EndChars, $lastChar))">
  6483.                         <xsl:call-template name="templ_prop_Dot"/>
  6484.                     </xsl:if>
  6485.                 </xsl:if>
  6486.             </xsl:when>
  6487.             <xsl:otherwise>
  6488.                 <xsl:value-of select="substring($format, 1, 1)" />
  6489.                 <xsl:call-template name="StringFormatName">
  6490.                     <xsl:with-param name="format" select="substring($format, 2)" />
  6491.                     <xsl:with-param name="withDot" select="$withDot" />
  6492.                     <xsl:with-param name="upperLast" select="$upperLast" />
  6493.                 </xsl:call-template>
  6494.                 <xsl:if test="string-length($format)=1">
  6495.                     <xsl:if test="withDot = 'yes' and not(contains($prop_EndChars, $format))">
  6496.                         <xsl:call-template name="templ_prop_Dot"/>
  6497.                     </xsl:if>
  6498.                 </xsl:if>
  6499.             </xsl:otherwise>
  6500.         </xsl:choose>
  6501.     </xsl:template>    
  6502.  
  6503.     <xsl:template name="StringFormatDate">
  6504.         <xsl:param name="format" />
  6505.         
  6506.         <xsl:param name="day"/>
  6507.         <xsl:param name="month"/>
  6508.         <xsl:param name="year"/>        
  6509.         
  6510.         <xsl:param name="withDot" />
  6511.  
  6512.     <xsl:variable name="prop_EndChars">
  6513.       <xsl:call-template name="templ_prop_EndChars"/>
  6514.     </xsl:variable>
  6515.  
  6516.     <xsl:choose>
  6517.             <xsl:when test="$format = ''"></xsl:when>
  6518.             <xsl:when test="substring($format, 1, 2) = '%%'">
  6519.                 <xsl:text>%</xsl:text>
  6520.                 <xsl:call-template name="StringFormatDate">
  6521.                     <xsl:with-param name="format" select="substring($format, 3)" />
  6522.                     <xsl:with-param name="day" select="$day"/>
  6523.                     <xsl:with-param name="month" select="$month"/>
  6524.                     <xsl:with-param name="year" select="$year"/>
  6525.                     <xsl:with-param name="withDot" select="$withDot" />
  6526.                 </xsl:call-template>
  6527.                 <xsl:if test="string-length($format)=2 and withDot = 'yes' and not(contains($prop_EndChars, '%'))">
  6528.                     <xsl:call-template name="templ_prop_Dot"/>
  6529.                 </xsl:if>
  6530.             </xsl:when>
  6531.             <xsl:when test="substring($format, 1, 1) = '%'">
  6532.                 <xsl:variable name="what" select="substring($format, 2, 1)" />
  6533.                 <xsl:choose>
  6534.                     <xsl:when test="$what = 'D'">
  6535.                         <xsl:value-of select="$day"/>
  6536.                     </xsl:when>
  6537.                     <xsl:when test="$what = 'M'">
  6538.                         <xsl:value-of select="$month"/>
  6539.                     </xsl:when>
  6540.                     <xsl:when test="$what = 'Y'">
  6541.                         <xsl:value-of select="$year"/>
  6542.                     </xsl:when>
  6543.                 </xsl:choose>
  6544.                 <xsl:call-template name="StringFormatDate">
  6545.                     <xsl:with-param name="format" select="substring($format, 3)" />
  6546.                     <xsl:with-param name="day" select="$day"/>
  6547.                     <xsl:with-param name="month" select="$month"/>
  6548.                     <xsl:with-param name="year" select="$year"/>
  6549.                     <xsl:with-param name="withDot" select="$withDot" />
  6550.                 </xsl:call-template>
  6551.                 <xsl:if test="string-length($format)=2 and withDot='yes'">
  6552.                     <xsl:variable name="temp2">
  6553.                         <xsl:call-template name="handleSpaces">
  6554.                             <xsl:with-param name="field">
  6555.                                 <xsl:call-template name="formatNameOneItem">
  6556.                                     <xsl:with-param name="format" select="$what"/>
  6557.                                 </xsl:call-template>
  6558.                             </xsl:with-param>
  6559.                         </xsl:call-template>
  6560.                     </xsl:variable>                
  6561.                     <xsl:variable name="lastChar">
  6562.                         <xsl:value-of select="substring($temp2, string-length($temp2))"/>
  6563.                     </xsl:variable>
  6564.                     <xsl:if test="not(contains($prop_EndChars, $lastChar))">
  6565.                         <xsl:call-template name="templ_prop_Dot"/>
  6566.                     </xsl:if>
  6567.                 </xsl:if>
  6568.             </xsl:when>
  6569.             <xsl:otherwise>
  6570.                 <xsl:value-of select="substring($format, 1, 1)" />
  6571.                 <xsl:call-template name="StringFormatDate">
  6572.                     <xsl:with-param name="format" select="substring($format, 2)" />
  6573.                     <xsl:with-param name="day" select="$day"/>
  6574.                     <xsl:with-param name="month" select="$month"/>
  6575.                     <xsl:with-param name="year" select="$year"/>
  6576.                     <xsl:with-param name="withDot" select="$withDot" />
  6577.                 </xsl:call-template>
  6578.                 <xsl:if test="string-length($format)=1">
  6579.                     <xsl:if test="withDot = 'yes' and not(contains($prop_EndChars, $format))">
  6580.                         <xsl:call-template name="templ_prop_Dot"/>
  6581.                     </xsl:if>
  6582.                 </xsl:if>
  6583.             </xsl:otherwise>
  6584.         </xsl:choose>
  6585.     </xsl:template>    
  6586.     <xsl:template name="formatDateCore">
  6587.         <xsl:param name="day"/>
  6588.         <xsl:param name="month"/>
  6589.         <xsl:param name="year"/>
  6590.         <xsl:param name="displayND"/>
  6591.         
  6592.         <xsl:param name="DMY"/>
  6593.         <xsl:param name="DM"/>
  6594.         <xsl:param name="MY"/>
  6595.         <xsl:param name="DY"/>
  6596.     
  6597.         <xsl:choose>
  6598.             <xsl:when test="string-length($year)=0">
  6599.                 <xsl:if test="$displayND = 'yes'">
  6600.                     <xsl:call-template name="templ_str_NoDateShortUnCap"/>
  6601.                 </xsl:if>
  6602.             </xsl:when>
  6603.             <xsl:otherwise>
  6604.                 <xsl:call-template name="formatDateCorePrivate">
  6605.                     <xsl:with-param name="day" select="$day"/>
  6606.                     <xsl:with-param name="month" select="$month"/>
  6607.                     <xsl:with-param name="year" select="$year"/>
  6608.                     
  6609.                     <xsl:with-param name="DMY" select="$DMY"/>
  6610.                     <xsl:with-param name="DM" select="$DM"/>
  6611.                     <xsl:with-param name="MY" select="$MY"/>
  6612.                     <xsl:with-param name="DY" select="$DY"/>
  6613.                 </xsl:call-template>
  6614.             </xsl:otherwise>
  6615.         </xsl:choose>
  6616.     
  6617.     </xsl:template>
  6618.  
  6619.   <xsl:template name="appendField_Dot">
  6620.     <xsl:param name="field"/>
  6621.  
  6622.     <xsl:variable name="temp">
  6623.       <xsl:call-template name="handleSpaces">
  6624.         <xsl:with-param name="field" select="$field"/>
  6625.       </xsl:call-template>
  6626.     </xsl:variable>
  6627.  
  6628.     <xsl:variable name="lastChar">
  6629.       <xsl:value-of select="substring($temp, string-length($temp))"/>
  6630.     </xsl:variable>
  6631.     
  6632.     <xsl:variable name="prop_EndChars">
  6633.       <xsl:call-template name="templ_prop_EndChars"/>
  6634.     </xsl:variable>
  6635.  
  6636.     <xsl:choose>
  6637.       <xsl:when test="string-length($temp) = 0">
  6638.       </xsl:when>
  6639.       <xsl:when test="contains($prop_EndChars, $lastChar)">
  6640.         <xsl:value-of select="$temp"/>
  6641.       </xsl:when>
  6642.       <xsl:otherwise>
  6643.         <xsl:value-of select="$temp"/>
  6644.         <xsl:call-template name="templ_prop_Dot"/>
  6645.       </xsl:otherwise>
  6646.     </xsl:choose>
  6647.  
  6648.   </xsl:template>
  6649.  
  6650. </xsl:stylesheet>
  6651.  
  6652.